6 ms·
Start https://perldoc.perl.org/perlre.html#Extended-Patterns https://perldoc.perl.org/perlre.html#Extended-Patterns . I was trying to find an article from many
by SuspiciousSwan 6y ago
Start https://perldoc.perl.org/perlre.html#Extended-Patterns https://perldoc.perl.org/perlre.html#Extended-Patterns . I was trying to find an article from many years ago, but either my google skills fail me, or it is dead. Perl's regular expressions haven't been regular expressions for a long time. Beyond that, the ergonomics of perl make them much more useful for things like flow control than in other languages. It's similar to how you can do type matching in Java, but it's ugly, versus a language like Haskell where using type matching simplifies the code.
Perl 6 (as lizmat pointed out), has more powerful rules. I don't know a ton about them.