Why are regular expressions difficult?

I can never remember.

”UseIt’s difficult to remember the variations on expression syntax in various programming languages, but I find it even more difficult to remember how to use the expressions.

If you want to replace all instances of some regular expression with a string, the way to do that could be completely different in two languages, even if the languages use the exact same dialect of regular expressions.

ResourcesHere are notes on regular expressions I’ve written over the years, largely for my own reference.

Regular expressions in MathematicaRegular expressions in PowerShell and PerlC++ TR1 regular expressionsRegular expressions in RComparing regular expressions in Perl, Python, and Emacs.. More details

Leave a Reply