Skip to content

Commit e9821ad

Browse files
committed
Remove reference to Perl 5 in not 5-to-6 document.
As of discussion <#1705> related to my previous pull request <#1704> I decided to remove the explicit reference to Perl 5 and to make it a separate section in the 5-to-6 part related to regexps.
1 parent 003473b commit e9821ad

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

doc/Language/5to6-nutshell.pod6

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,13 @@ a better choice for grammar reuse.
11321132
TODO more rules. Use L<< C<translate_regex.pl> from Blue
11331133
Tiger|https://github.com/Util/Blue_Tiger/ >> in the meantime.
11341134
1135+
=head3 Comments
1136+
1137+
As with Perl 5, comments work as usual in regexes.
1138+
1139+
/ word #`(match lexical "word") /
1140+
1141+
11351142
=head1 Pragmas
11361143
11371144
=head3 C<strict>

doc/Language/regexes.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ instead.
3131
Whitespace in regexes is generally ignored (except with the C<:s> or,
3232
completely, C<:sigspace> adverb).
3333
34-
As with Perl 5, comments work as usual in regexes.
34+
Comments work within a regular expression:
3535
3636
/ word #`(match lexical "word") /
3737

0 commit comments

Comments
 (0)