Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Quantifier follows nothing error in Regexp::Grammars (hyphen charclass)

by Happy-the-monk (Abbot)
on Oct 09, 2013 at 08:44 UTC ( #1057511=note: print w/replies, xml ) Need Help??


in reply to Re^3: Quantifier follows nothing error in Regexp::Grammars (hyphen charclass)
in thread Quantifier follows nothing error in Regexp::Grammars

what are the reasons for this habit/style?

in a character class, the hyphen is a range operator as in [0-9A-Za-z] or [A-z]-foolery.

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)