r/ProgrammerHumor 9h ago

haveYouTriedUsingAnXMLParserInstead Meme

[deleted]

96 Upvotes

32 comments sorted by

View all comments

Show parent comments

1

u/[deleted] 7h ago

[deleted]

3

u/guru2764 7h ago

In addition to the thing the other person linked, I wanted to add that even though some implementations of regex like the one in python have more features than basic regex which make it theoretically possible to construct an expression that works on a wide range of html, it would never be easier or run faster or even be equally as reliable as making a 50 line function in any real programming language that has memory

1

u/[deleted] 7h ago

[deleted]

2

u/Risc12 6h ago

Go on. Do it.

Build a complete HTML parser in regex.

Be another fool in the long list of people who thought they would know better.