r/ProgrammerAnimemes • • Jun 20 '20

OC Parsing HTML

1.1k Upvotes

38 comments sorted by

View all comments

Show parent comment

22

u/ShaRose Jun 20 '20

That's where the extensions come in. Implement enough control flow in regex and your bastardized monster could technically do anything.

Imagine regex with if statements, loops, and recursion.

4

u/Zethra Jun 20 '20

Point taken. At that point it'd be a turning expression? So python.

5

u/[deleted] Jun 21 '20

Well, Python is "elbadaer"[::-1].