in reply to Re^3: Regex: Embedded pattern-match modifiers: Empty (?) modifier
in thread Regex: Embedded pattern-match modifiers: Empty (?) modifier

Perl 5.30 will change the documentation to Zero, and this will remain legal to accommodate machine generated code. A warning will be issued if the pattern is compiled within the scope of a "use re 'strict'" pragma. This will accommodate people who want to catch no-ops that are possibly typos.
  • Comment on Re^4: Regex: Embedded pattern-match modifiers: Empty (?) modifier