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

Hmm I think it's even more complicated, there is still (?{code}) and (??{code}) to handle.

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

Cheers Rolf

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

Replies are listed 'Best First'.
Re^4: No need to escape right brace in regex
by syphilis (Archbishop) on Oct 21, 2014 at 10:34 UTC
    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
      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 ☆☆☆☆ :)