Skip to content

Commit

Permalink
Merge pull request #1706 from fluca1978/fix-comment-regexp
Browse files Browse the repository at this point in the history
Remove reference to Perl 5 in not 5-to-6 document.
  • Loading branch information
fluca1978 committed Dec 14, 2017
2 parents db05b11 + e9821ad commit 700085c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions doc/Language/5to6-nutshell.pod6
Expand Up @@ -1132,6 +1132,13 @@ a better choice for grammar reuse.
TODO more rules. Use L<< C<translate_regex.pl> from Blue
Tiger|https://github.com/Util/Blue_Tiger/ >> in the meantime.
=head3 Comments
As with Perl 5, comments work as usual in regexes.
/ word #`(match lexical "word") /
=head1 Pragmas
=head3 C<strict>
Expand Down
2 changes: 1 addition & 1 deletion doc/Language/regexes.pod6
Expand Up @@ -31,7 +31,7 @@ instead.
Whitespace in regexes is generally ignored (except with the C<:s> or,
completely, C<:sigspace> adverb).
As with Perl 5, comments work as usual in regexes.
Comments work within a regular expression:
/ word #`(match lexical "word") /
Expand Down

0 comments on commit 700085c

Please sign in to comment.