cvs commit: perlfaq perlfaq6.pod
[email protected] (brian d foy) 22 Sep 2004 03:18:41 -0000
| Newsgroups | perl.cvs.perlfaq |
|---|---|
| Message-ID | <[email protected]> |
cvsuser 04/09/21 20:18:40
Modified: . perlfaq6.pod
Log:
* added missing semicolon in code example
Revision Changes Path
1.25 +2 -2 perlfaq/perlfaq6.pod
Index: perlfaq6.pod
===================================================================
RCS file: /cvs/public/perlfaq/perlfaq6.pod,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -w -r1.24 -r1.25
--- perlfaq6.pod 6 Aug 2004 00:07:41 -0000 1.24
+++ perlfaq6.pod 22 Sep 2004 03:18:40 -0000 1.25
@@ -1,6 +1,6 @@
=head1 NAME
-perlfaq6 - Regular Expressions ($Revision: 1.24 $, $Date: 2004/08/06 00:07:41 $)
+perlfaq6 - Regular Expressions ($Revision: 1.25 $, $Date: 2004/09/22 03:18:40 $)
=head1 DESCRIPTION
@@ -354,7 +354,7 @@
$/ = undef;
$_ = <>;
- s#/\*[^*]*\*+([^/*][^*]*\*+)*/|("(\\.|[^"\\])*"|'(\\.|[^'\\])*'|.[^/"'\\]*)#$2#gs
+ s#/\*[^*]*\*+([^/*][^*]*\*+)*/|("(\\.|[^"\\])*"|'(\\.|[^'\\])*'|.[^/"'\\]*)#$2#gs;
print;
This could, of course, be more legibly written with the C</x> modifier, adding