3 ms·
As soon as there is a _complete_ regex reference in the readme, it may be worth a try. The main problem with _any_ regex tool or programming language or ... is
by ReleaseCandidat 2y ago
As soon as there is a _complete_ regex reference in the readme, it may be worth a try. The main problem with _any_ regex tool or programming language or ... is the subtle and not so subtle differences between the various regex implementations - like the "normal" and "extended" mode of sed.
This phrase:
sd uses regex syntax that you already know from JavaScript and Python.
says it all.
I still haven't found a better short overview of various regex engines than that: https://web.archive.org/web/20130830063653/http://www.regular-expressions.info:80/refflavors.html https://web.archive.org/web/20130830063653/http://www.regula...
- ptman 2y agoIndeed. It's different from Python, maybe JavaScript as well. https://docs.rs/regex/latest/regex/#syntax https://docs.rs/regex/latest/regex/#syntax