mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
fix: regex's match_with_preallocated_capture returning num_groups
This commit is contained in:
@@ -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