15 ms·
An interesting question would be "which regex variant can be parsed by itself, and how?". Parsing simple regex with PCRE is cheating. If you are using PCRE, yo
by GuB-42 7y ago
An interesting question would be "which regex variant can be parsed by itself, and how?".
Parsing simple regex with PCRE is cheating. If you are using PCRE, you should be parsing PCRE.
The simplest case would be DOS style globs with just * and ?, and it can parse itself: just use "*".