From: Philip Hazel Date: Sun, 10 Jan 2010 13:47:50 +0000 (+0100) Subject: [perl #71948] Documentation error for (*MARK) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b4222fa9a30f89a491b9910b750d8aa7895a0e77;p=p5sagit%2Fp5-mst-13.2.git [perl #71948] Documentation error for (*MARK) The NAME portion of (*MARK:NAME) is not optional. --- diff --git a/pod/perlre.pod b/pod/perlre.pod index c997a9e..529c44a 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -1471,8 +1471,7 @@ This zero-width pattern can be used to mark the point reached in a string when a certain part of the pattern has been successfully matched. This mark may be given a name. A later C<(*SKIP)> pattern will then skip forward to that point if backtracked into on failure. Any number of -C<(*MARK)> patterns are allowed, and the NAME portion is optional and may -be duplicated. +C<(*MARK)> patterns are allowed, and the NAME portion may be duplicated. In addition to interacting with the C<(*SKIP)> pattern, C<(*MARK:NAME)> can be used to "label" a pattern branch, so that after matching, the