From: Perl 5 Porters Date: Fri, 15 Mar 1996 08:19:14 +0000 (+0000) Subject: Added warning about fixed /x regexps -- # now always starts a comment X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cd48280b896659ad29681ee2ef8ae2f2f10a8752;p=p5sagit%2Fp5-mst-13.2.git Added warning about fixed /x regexps -- # now always starts a comment --- diff --git a/Changes b/Changes index 72a7603..64b9398 100644 --- 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.)