Minor comment: the hyphen should be the first character in the character class:
<token: punctuation> ( [-.,?!"';:\&()\[\]]+ )
otherwise it is interpreted as defining a range rather than a literal hypen.
In reply to Re^2: Quantifier follows nothing error in Regexp::Grammars (quantifier "?")
by hdb
in thread Quantifier follows nothing error in Regexp::Grammars
by nathaniels
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |