Archive for the 'Regular Expressions' Category

Perl Regex Tip: Zero-width positive look-aheads are non-capturing.

I used to write regexes all the live long day in a language called WebQL. During that time I must’ve written somewhere between 5000-10000 lines of regular expressions to extract data from various data feeds the crawlers would pull down every day. It’s all fun and games until an angry customer calls wondering [...]