in reply to Re^3: Parse::RecDescent Grammar Questions
in thread Parse::RecDescent Grammar Questions

It always tries them in order until one succeeds. If none do, it backtracks.

In this case, the first one always succeeds (seeing as it can match zero items).

  • Comment on Re^4: Parse::RecDescent Grammar Questions