Closed nitely closed 11 months ago
fixes #108
this needs some refactor and tests
let flags = {regexArbitraryBytes} doAssert match("\xff", re2(r"\xff", flags)) doAssert replace("\xff", re2(r"\xff", flags), "abc") == "abc"
TODO:
re2("弢", flags)
"弢"
fixes #108
this needs some refactor and tests
TODO:
re2("弢", flags)
matches"弢"
and arbitrary bytes match arbitrary bytes. Also, runes() expect valid utf8 so this is the only way.