News for hackers. Stuff that matters.
Re:Learn to use Awk with hundreds of examples by jdnier on Wednesday October 25, 2017 @02:18PM (#15552640)
A regex can be used effectively to tokenize XML-like markup, including a lot of HTML—sometimes called shallow parsing. https://stackoverflow.com/a/6638578/234823

Attribute value minimization would be one limitation, since that regex is for XML, but it's a more robust approach than writing naive "<x>.*</x>"-style regexes.

Re:Learn to use Awk with hundreds of examples by AceJohnny2 on Wednesday October 25, 2017 @03:33PM (#15553346)
> A regex can be used effectively to tokenize XML-like markup

...isn't that how all tokenizers for all (confusingly-named) context-free languages work?