in reply to Is Regexp::Grammars a suitable tool for recognising card game hands?

You typically use a grammar if you want to parse something that isn't quite trivial, and where order matters (you typically want to construct a tree). None of that seems to apply to your problem.
  • Comment on Re: Is Regexp::Grammars a suitable tool for recognising card game hands?