Skip to content

Commit ec1df8c

Browse files
committed
Fix some pod syntax issues
C<<>> is legal, but empty. We want the code to show <>
1 parent eab889a commit ec1df8c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/Language/5to6-nutshell.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ For lookaround assertions:
11421142

11431143
For more info see L«lookahead assertions|/language/regexes#Lookahead_assertions».
11441144

1145-
(Unrelated to C<<>> syntax, the "lookaround" C</foo\Kbar/> becomes C«/foo <( bar )> /»
1145+
(Unrelated to C«<>» syntax, the "lookaround" C</foo\Kbar/> becomes C«/foo <( bar )> /»
11461146

11471147
=item C<(?(?{condition))yes-pattern|no-pattern)> becomes C«[ <?{condition}>
11481148
yes-pattern | no-pattern ]»

doc/Language/rb-nutshell.rakudoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ in Raku regexes.
817817
/ "this is a test" /; # Raku, quoting the whole string
818818
/ this .* /; # Raku, possibly interesting string
819819

820-
=head2 Special matchers generally fall under the C<<>> syntax
820+
=head2 Special matchers generally fall under the C«<>» syntax
821821

822822
There are many cases of special matching syntax that Raku regexes support.
823823
They won't all be listed here, but often instead of being surrounded by C<()>,
@@ -849,7 +849,7 @@ For look-around assertions:
849849

850850
=item C«(?<!ar?bitrary* pattern)» becomes C«<!after ar?bitrary* pattern>»
851851

852-
(Unrelated to C<<>> syntax, the "lookaround" C</foo\Kbar/> becomes C«/foo <( bar )> /»
852+
(Unrelated to C«<>» syntax, the "lookaround" C</foo\Kbar/> becomes C«/foo <( bar )> /»
853853

854854
=item C<(?(?{condition))yes-pattern|no-pattern)> becomes C«[ <?{condition}>
855855
yes-pattern | no-pattern ]»

0 commit comments

Comments
 (0)