in reply to Re^3: No need to escape right brace in regex
in thread No need to escape right brace in regex

But yes looks like they are cleaning up some messi parsing rules

It does look that way - I guess all will become clear eventually.
In the meantime I'll just escape both '{' and '}'.

The same warning showed up with the advent of 5.18 (or was it 5.20) and I eradicated those warnings (by escaping the braces) accordingly.
But 5.21.x has uncovered other situations where braces are unacceptably unescaped - situations that 5.20 and earlier didn't care about.

Cheers,
Rob
  • Comment on Re^4: No need to escape right brace in regex

Replies are listed 'Best First'.
Re^5: No need to escape right brace in regex
by LanX (Saint) on Oct 21, 2014 at 10:58 UTC
    I wonder why the warning doesn't simply include the suggested escaping.

    Migration would become easier.

    Anyway \Q aka quotemeta rules! :)

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)