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
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>
Fri, 15 Mar 1996 08:19:14 +0000 (08:19 +0000)
committerCharles Bailey <bailey@genetics.upenn.edu>
Fri, 15 Mar 1996 08:19:14 +0000 (08:19 +0000)
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.)