DEV Community

Discussion on: I hated Regex so much that I made iHateRegex.io

Collapse
 
kovirobi profile image
Kovacsics Robert

One of the things about regexes is that they are (generally) not regular in two senses of the word:

1) they have different syntax for perl/PCRE, Python, Emacs, Vim, ...;
2) they are not regular in the linguistic/CompSci sense of the "regular languages", and even when they are, backtracking parsers are (almost always) used on them and this can lead to denial-of-service bugs :(