diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-04-06 14:19:14 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-04-06 14:19:14 +0200 |
| commit | cdc56dc6910368384749055dcae7d4264354d5fa (patch) | |
| tree | 9d67dd70eccc9e14a91f9fde53127c2aa1f59cbe /src/linker.cpp | |
| parent | eecc6c1f18a71bc7de79df2fe73638cfb49914d9 (diff) | |
Add iterator for `core:text/regex`.
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)
}
```
Diffstat (limited to 'src/linker.cpp')
0 files changed, 0 insertions, 0 deletions