Skip to content

Commit b1c3076

Browse files
committed
run v fmt -w . with latest V 0.4.8 067c5b6
1 parent 16760be commit b1c3076

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

regex.v

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ struct Regex {
55
pub:
66
re &C.pcre // A pointer to pcre structure
77
extra &C.pcre_extra // A pointer to pcre_extra structure
8-
captures int // The number of capture groups
9-
options int // Regex options
8+
captures int // The number of capture groups
9+
options int // Regex options
1010
}
1111

1212
pub fn (r &Regex) free() {
@@ -35,11 +35,11 @@ pub fn (r &Regex) match_str(str string, pos int, options int) !MatchData {
3535
return error('No match!')
3636
}
3737
return MatchData{
38-
re: r.re
39-
regex: r
40-
str: str
41-
ovector: ovector
42-
pos: pos
38+
re: r.re
39+
regex: r
40+
str: str
41+
ovector: ovector
42+
pos: pos
4343
group_size: r.captures + 1
4444
}
4545
}

0 commit comments

Comments
 (0)