fix: regex's match_with_preallocated_capture returning num_groups
This commit is contained in:
1 parent
04e8dcc042
commit
7edc46f1b9
1 file changed
+1
@@ -381,6 +381,7 @@ match_with_preallocated_capture :: proc(
|
|||||||
capture.pos[n] = {a, b}
|
capture.pos[n] = {a, b}
|
||||||
n += 1
|
n += 1
|
||||||
}
|
}
|
||||||
|
num_groups = n
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in new issue
Block a user