asciilifeform: regex belongs in the tool chest next to 'duct tape'.☟︎
asciilifeform: 'We found a few extended regex expressions in GNU libc that will crash or abort the execution of regcomp or regexec. For instance: \a?{1,32767} will immediately exhaust the stack calling calc_eclosure_iter in the compilation. A small variation of this regex is: \a?{0,32767} will consume a very large amount of memory: it seems to eat 16GB in less than a minute. It is also possible to exhaust the stack memory trying to parse...'