diff options
author | Karl Williamson <khw@cpan.org> | 2019-03-16 13:22:35 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-03-16 13:25:14 -0600 |
commit | 5fcc329e3d4274eaa2e1973b91ca0808434a3bbe (patch) | |
tree | ab82cbc2e1be2b026546e2f2da390639bef15191 /pod/perlre.pod | |
parent | 7056a12db4432a1ce25fac6e2e79de6b02a9bf53 (diff) | |
download | perl-5fcc329e3d4274eaa2e1973b91ca0808434a3bbe.tar.gz |
perlre: Consistent casing and spelling of VERB args
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r-- | pod/perlre.pod | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index 4898f94d9f..338caaab0d 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -2641,8 +2641,8 @@ consecutive digits. =head2 Special Backtracking Control Verbs -These special patterns are generally of the form C<(*I<VERB>:I<ARG>)>. Unless -otherwise stated the I<ARG> argument is optional; in some cases, it is +These special patterns are generally of the form C<(*I<VERB>:I<arg>)>. Unless +otherwise stated the I<arg> argument is optional; in some cases, it is mandatory. Any pattern containing a special backtracking verb that allows an argument @@ -2650,9 +2650,9 @@ has the special behaviour that when executed it sets the current package's C<$REGERROR> and C<$REGMARK> variables. When doing so the following rules apply: -On failure, the C<$REGERROR> variable will be set to the I<ARG> value of the +On failure, the C<$REGERROR> variable will be set to the I<arg> value of the verb pattern, if the verb was involved in the failure of the match. If the -I<ARG> part of the pattern was omitted, then C<$REGERROR> will be set to the +I<arg> part of the pattern was omitted, then C<$REGERROR> will be set to the name of the last C<(*MARK:I<NAME>)> pattern executed, or to TRUE if there was none. Also, the C<$REGMARK> variable will be set to FALSE. @@ -2831,7 +2831,7 @@ is not the same as as after matching the I<A> but failing on the I<B> the C<(*THEN)> verb will backtrack and try I<C>; but the C<(*PRUNE)> verb will simply fail. -=item C<(*COMMIT)> C<(*COMMIT:I<args>)> +=item C<(*COMMIT)> C<(*COMMIT:I<arg>)> X<(*COMMIT)> This is the Perl 6 "commit pattern" C<< <commit> >> or C<:::>. It's a |