Generate regular expressions from ABNF