in reply to Re^2: Parse RecDescent Nesting (Followup)
in thread Parse RecDescent Nesting (Followup)

The "circular references", or, as they're more commonly known, "recursive definitions", are precisely what differentiates a grammar from a flat, regular pattern, and the thing Perl's regex-engine can't properly handle, making a parser like Parse::RecDescent useful.
  • Comment on Re^3: Parse RecDescent Nesting (Followup)