http://www.perlmonks.org?node_id=536528


in reply to Re^2: Perl Regular Expression inconsistency
in thread Perl Regular Expression inconsistency

Doesn't '{' start a {} quantifier?
  • Comment on Re^3: Perl Regular Expression inconsistency

Replies are listed 'Best First'.
Re^4: Perl Regular Expression inconsistency
by wazoox (Prior) on Mar 14, 2006 at 12:18 UTC
    Yes, you're right, however it must then follow some token (sorry I'm not very proficient in regexp :)
Re^4: Perl Regular Expression inconsistency
by sanPerl (Friar) on Mar 14, 2006 at 13:19 UTC
    I Don't think it to be an inconsistency. { doesn't represent anything, once your inside regex (i.e. /../), and hence it need Not be escaped.