From: David Nicol Date: Wed, 11 Jul 2007 17:31:45 +0000 (-0500) Subject: mention of g and c modifiers missing from perlre.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e2e6bec7edbce640c3881df6572504b616436a5e;hp=b30379bcaeac6120f0264354e477975c06e21112;p=p5sagit%2Fp5-mst-13.2.git mention of g and c modifiers missing from perlre.pod From: "David Nicol" Message-ID: <934f64a20707111531m313e3a9at82f002c68eab5bee@mail.gmail.com> p4raw-id: //depot/perl@31596 --- diff --git a/pod/perlre.pod b/pod/perlre.pod index 6060e18..56df3eb 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -65,6 +65,15 @@ X

X X Preserve the string matched such that ${^PREMATCH}, {$^MATCH}, and ${^POSTMATCH} are available for use after matching. +=item g and c +X X + +Global matching, and keep the Current position after failed matching. +Unlike i, m, s and x, these two flags affect the way the regex is used +rather than the regex itself. See +L for further explanation +of the g and c modifiers. + =back These are usually written as "the C modifier", even though the delimiter