Continuing the series of resource posts each Wednesday, this week we have notes on regular expressions:
- Regular expressions in PowerShell and Perl
- Regular expressions in Python
- Regular expressions in R
- Regular expressions in Mathematica
- C++ TR1 regular expressions
See also blog posts tagged regular expressions.
Last week: Probability resources
Next week: Numerical computing resources
Your named captures, that is incorrect, it has had them since 5.10.0 which came out 2007-Dec-18. ( Perl5 even supports the Python / PCRE way of declaring named captures. )
page says that Perl doesn’t haveIt also has gained (in 5.14.0) the ability to use
s///r
to indicate that it shouldn’t modify the original string, but to return the modified string instead.It has gained the experimental ability (in 5.18.0) to do set operations on character classes.
You should also say Perl 5 where you just say Perl, as regular expressions in Perl 6 are far more powerful than just about every regular expression engine. It’s like comparing an axe to a chainsaw.