diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2020-05-28 14:38:52 +0200 |
---|---|---|
committer | Sawyer X <xsawyerx@cpan.org> | 2020-05-30 17:37:16 +0300 |
commit | 17b35041bdff13ad8301eae5df5f75578f910ce1 (patch) | |
tree | 6f3d9b27e113332f2f77eea3f4bf176f9781d466 /pod/perlre.pod | |
parent | 975363793fa0bd4d9ce6722102e009c479ecf506 (diff) | |
download | perl-17b35041bdff13ad8301eae5df5f75578f910ce1.tar.gz |
Perl 6 -> Raku where appropriate
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r-- | pod/perlre.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index 8c0d2049e0..0a9e8ec21d 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -2829,7 +2829,7 @@ As a shortcut C<(*MARK:I<NAME>)> can be written C<(*:I<NAME>)>. =item C<(*THEN)> C<(*THEN:I<NAME>)> -This is similar to the "cut group" operator C<::> from Perl 6. Like +This is similar to the "cut group" operator C<::> from Raku. Like C<(*PRUNE)>, this verb always matches, and when backtracked into on failure, it causes the regex engine to try the next alternation in the innermost enclosing group (capturing or otherwise) that has alternations. @@ -2865,7 +2865,7 @@ backtrack and try I<C>; but the C<(*PRUNE)> verb will simply fail. =item C<(*COMMIT)> C<(*COMMIT:I<arg>)> X<(*COMMIT)> -This is the Perl 6 "commit pattern" C<< <commit> >> or C<:::>. It's a +This is the Raku "commit pattern" C<< <commit> >> or C<:::>. It's a zero-width pattern similar to C<(*SKIP)>, except that when backtracked into on failure it causes the match to fail outright. No further attempts to find a valid match by advancing the start pointer will occur again. |