Closed nitely closed 3 years ago
Only the JS compilation is affected (nim js ...), see https://github.com/nim-lang/Nim/issues/15624
nim js ...
P.S: the match macro should work, and using let/var for the regex should work as well, ex: let exp = re"[abc]+"
let exp = re"[abc]+"
I should consider using a seq instead. It won't be worse than doing alternations instead of set, ex re"(a|b|c)+"
re"(a|b|c)+"
Only the JS compilation is affected (
nim js ...
), see https://github.com/nim-lang/Nim/issues/15624P.S: the match macro should work, and using let/var for the regex should work as well, ex:
let exp = re"[abc]+"