I'm writing a Nim program using regexes, which works fine, except that when I compile, I get this error message:
Warning: re is deprecated [Deprecated]
I've looked in the documentation for the re
module, but there's no mention of a new way to create regexes.
My question is, if the re"regex"
constructor is deprecated, what should I use?