This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Added warning about fixed /x regexps -- # now always starts a comment
[perl5.git] / Changes
diff --git a/Changes b/Changes
index 72a7603..64b9398 100644 (file)
--- a/Changes
+++ b/Changes
@@ -884,6 +884,8 @@ NETaa14697: regexp comments were sometimes wrongly treated as literal text
 From: Tom Christiansen
 Files patched: regcomp.c
  The literal-character grabber didn't know about extended comments.
+ N.B. '#' is treated as a comment character whenever the /x option is
+ used now, so you can't include '#' as a simple literal in /x regexps.
  
  (By the way, Tom, the boxed form of quoting in the previous enclosure is
  exceeding antisocial when you want to extract the code from it.)