#match.matcher_capture Bug
9 messages · Page 1 of 1 (latest)
whaaat, i am putting it lol ahah, but it its not working 🤣
```odin
i am actually writing this and it is not working xD
Actually ...
```cpp since odin isn't recognized by discord, yet.
Get rid of the asterisk in the first line. Do you see how it goes italic after match.matcher on the first line?
day3 :: proc(content: string) -> (result: int) {
matcher := match.matcher_init(content, "(mul%(%d+,%d+%))")
for in match.matcher_gmatch(&matcher) {
fmt.println(match.matcher_captures_slice(&matcher))
fmt.println(match.matcher_capture(&matcher, 0))
}
return
}
that is bugging in there
i will paste it in here