DEV Community

loading...

Discussion on: The Power of Regular Expressions

Collapse
tux0r profile image
tux0r • Edited

All major programming languages support regular expressions

Ignoring that some of them need third-party libraries for that: And most of them are incompatible with each other. Ah, the joy.

Collapse
ben profile image
Ben Halpern

This has never made any sense to me. If regex has standards across languages it would be so much more powerful.

Collapse
tux0r profile image
tux0r

There are reasons for that. To stay within the Unix world: when Unix became graphical with the Blit terminal, there was no reason to limit text objects to single lines anymore, so structural regular expressions were invented. Around the same time, Perl was made as a superset of Unix regex. From there, it all went wrong, I guess.