3 ms·
Anyone incapable of writing their own regular expression for this is unlikely to know when their problem is too complicated to be solved by it. You're not actua
by mark-r 7y ago
Anyone incapable of writing their own regular expression for this is unlikely to know when their problem is too complicated to be solved by it. You're not actually doing them a favor by answering the question.
- ratww 7y agoThat's bullshit. By explaining to them Chomsky Hierarchies they can understand limitations of regexes and learn about parsers and. By showing them the regex able to parse a limited HTML subset they might be able to try it out and see such limitations by themselves on their own screen. Additionally they might be able to learn some new regex tricks. Maybe you learned things in a different way, but lots of people enjoy learning stuff by doing and by seeing demonstrations.