mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
cdc56dc691
Usage:
```odin
haystack := `xxfoobarxfoobarxx`
pattern := `f(o)ob(ar)`
it := regex.create_iterator(haystack, pattern, {.Global}) or_return
defer regex.destroy(it)
for capture in regex.match(&it) {
fmt.println(capture)
}
```