I want to learn regular expressions within Nim.
What module should I use:
@Araq, thanks for the clear answer. This is something I’ve wondered myself in the past too.
Are there any plans to bring the regex into the stdlib?
Assuming regex's author agrees to move it to the stdlib, we would lose the git history of the project and all clients who had requires regex in their .nimble file would need to update the dependencies. Maybe not immediately, but eventually. Not to mention that everybody has to migrate from re/nre to regex. That's quite some work for everybody.
The gain? Some people would need to find new things to be confused about. Yay.
Yes.
You can use nimble search regex to verify this
I think it would be inconsistent to mark re as deprecated and advise to use regex instead
The message could be changed to something more consistent, like:
NOTE: The re package is outdated, but going to be kept for backward compatibility reasons, please use github.com/nitely/nim-regex instead.