From e2e6bec7edbce640c3881df6572504b616436a5e Mon Sep 17 00:00:00 2001 From: David Nicol Date: Wed, 11 Jul 2007 12:31:45 -0500 Subject: [PATCH] mention of g and c modifiers missing from perlre.pod From: "David Nicol" Message-ID: <934f64a20707111531m313e3a9at82f002c68eab5bee@mail.gmail.com> p4raw-id: //depot/perl@31596 --- pod/perlre.pod | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.7.4