in reply to Re^2: Quantifier follows nothing error in Regexp::Grammars (quantifier "?")
in thread Quantifier follows nothing error in Regexp::Grammars
perldoc perlrecharclass says you don't need to escape [ within a (non-Posix) character class, and for ] there is a similiar rule as for the hyphen, so
Update: corrected position of hyphen, had it outside of the regex :-/
should be valid without any backslash.<token: punctuation> ( [][.,?!"';:&()-]+ )
Update: corrected position of hyphen, had it outside of the regex :-/
In Section
Seekers of Perl Wisdom