Reply to post: For all the regex haters out there: Don't forget that machine code is the same

Cloudflare comes clean on crashing a chunk of the web: How small errors and one tiny bit of code led to a huge mess

elDog

For all the regex haters out there: Don't forget that machine code is the same

A regex expression is comprised of lots of operations strung together, just like hand-coded assembler or compiler generated code.

While we might say that compilers have withstood the trials of time and that the code they generate is almost (99.999996%) correct, this has only been achieved through years of real-world testing.

True, regex's are hard to read for you mere mortals. But then so is assembler, firmware, C++, Ada, etc. Time to bring back MS Basic!

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon