5 ms·
I also love his explanation of "How Regexes Work": https://perl.plover.com/Regex/article.html https://perl.plover.com/Regex/article.html Before reading it, I c
by adrianmonk 5y ago
I also love his explanation of "How Regexes Work": https://perl.plover.com/Regex/article.html https://perl.plover.com/Regex/article.html
Before reading it, I could write regexes with decent success, but I was never 100% comfortable that they'd do quite what I expected. After, the fog cleared, and I felt like I finally understood what I was asking the computer to do when I wrote a regex.
Also, whenever I think of state machines, in my mind I still see pennies moving around on circles.
(FYI, it was written for a Perl programmer audience, but it doesn't involve much Perl.)
- belter 5y ago----------------------- Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. Jamie Zawinski ----------------------- Or in other words... https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS https://owasp.org/www-community/attacks/Regular_expression_D...