File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -772,12 +772,10 @@ match with
772
772
say "foobar" ~~ rx{ foo <!before bar> } # OUTPUT: «Nil»
773
773
774
774
775
- lookahead assertions can be used also with other patterns, like
775
+ Lookahead assertions can be used also with other patterns, like
776
776
characters ranges, interpolated variables, subscripts and so on. In such
777
- cases it does suffice to use a C < ? > (or a C < ! > for the negate form) immeditely
778
- followed by the character classes, interpolated variable and more in general
779
- the "thing" to match against. For instance, the following lines
780
- all produce the very same result:
777
+ cases it does suffice to use a C < ? > (or a C < ! > for the negate form).
778
+ For instance, the following lines all produce the very same result:
781
779
782
780
= begin code
783
781
say 'abcdefg' ~~ rx{ abc <?before def> }; # OUTPUT: 「abc」
You can’t perform that action at this time.
0 commit comments