Search code examples
regexgrammarbnf

Regex BNF Grammar


Is there any BNF grammar for regular expression?


Solution

  • You can see one for Perl regexp (displayed a little more in detail here, as posted by edg)