mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 04:50:29 +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}
|
||||
n += 1
|
||||
}
|
||||
num_groups = n
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user