tags:

views:

975

answers:

3
+4  Q: 

Regex Grammar

Is there any BNF grammar for regular expression?

+6  A: 

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

VonC
A: 

See Formal language theory in the Wikipedia entry.

gimel