From e7ea3e70155d0bea30720ba41eb6bb6742aac0d1 Mon Sep 17 00:00:00 2001 From: Ilya Zakharevich Date: Tue, 21 Jan 1997 10:26:32 +1200 Subject: patch for LWP 5.05 to make it play with both 5.003 and 5.003_20 + overload patch --- pod/perlre.pod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pod/perlre.pod') diff --git a/pod/perlre.pod b/pod/perlre.pod index a4c0a7d9de..cb3ce032d0 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -175,7 +175,11 @@ just like "^" and "$" except that they won't match multiple times when the C modifier is used, while "^" and "$" will match at every internal line boundary. To match the actual end of the string, not ignoring newline, you can use C<\Z(?!\n)>. The C<\G> assertion can be used to mix global -matches (using C) and non-global ones, as described in L. +matches (using C) and non-global ones, as described in +L. +It is also useful when writing C-like scanners, when you have several +regexps which you want to match against consequent substrings of your +string, see the previous reference. The actual location where C<\G> will match can also be influenced by using C as an lvalue. See L. -- cgit v1.2.1