2 ms·
Is there a regular expression to detect a valid regular expression?
- andrewaylett 13y agoSee, this is one thing that annoys me about so-called 'regular' expression engines: they're not actually very regular any more. I understand that they can be useful (indeed, very useful sometimes) but I think that having a 'regular expression' that actually matches a context-free grammar is more than a bit confusing.