fix: regex's match_with_preallocated_capture returning num_groups

This commit is contained in:
Ycros
2024-12-04 13:51:27 +11:00
parent 04e8dcc042
commit 7edc46f1b9

View File

@@ -381,6 +381,7 @@ match_with_preallocated_capture :: proc(
capture.pos[n] = {a, b}
n += 1
}
num_groups = n
}
return