diff options
author | Michael Witten <mfwitten@gmail.com> | 2009-04-07 14:59:19 -0500 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2009-04-07 23:40:02 +0200 |
commit | fd2b7f5590d4687733156a2ab08ebef34d5ca503 (patch) | |
tree | 410472f29b33b4eb749a287eaf2b6a7c2d8b2d40 /pod/perlretut.pod | |
parent | 05d7b09c88e73b949dce24ed7f6aef5a39b9c74f (diff) | |
download | perl-fd2b7f5590d4687733156a2ab08ebef34d5ca503.tar.gz |
Docs: Typo: \{-1} -> \g{-1}
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Diffstat (limited to 'pod/perlretut.pod')
-rw-r--r-- | pod/perlretut.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlretut.pod b/pod/perlretut.pod index a43bea174a..71317693bd 100644 --- a/pod/perlretut.pod +++ b/pod/perlretut.pod @@ -2420,7 +2420,7 @@ containing just one word character is a palindrome. Otherwise it must have a word character up front and the same at its end, with another palindrome in between. - /(?: (\w) (?...Here be a palindrome...) \{-1} | \w? )/x + /(?: (\w) (?...Here be a palindrome...) \g{-1} | \w? )/x Adding C<\W*> at either end to eliminate what is to be ignored, we already have the full pattern: |