HomeFreeBSD

Fix build with Perl 5.26.

Description

Fix build with Perl 5.26.

Unescaped left brace in regex is illegal in regex when not used as a
quantifier.

  • /foo{3}/ will match foofoofoo.
  • /\\new{bar}/ is illegal and should be written as /\\new\{bar}/.

PR: 226817
Sponsored by: Absolight

Details

Provenance
matAuthored on
Parents
rP465818: Fix build with Perl 5.26.
Branches
Unknown
Tags
Unknown