Skip to content

Commit 9622e68

Browse files
committed
Fix some typos.
Make the paragraph short, it should be clear enough.
1 parent 17c5511 commit 9622e68

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

doc/Language/regexes.pod6

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -772,12 +772,10 @@ match with
772772
say "foobar" ~~ rx{ foo <!before bar> } # OUTPUT: «Nil␤»
773773
774774
775-
lookahead assertions can be used also with other patterns, like
775+
Lookahead assertions can be used also with other patterns, like
776776
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:
781779
782780
=begin code
783781
say 'abcdefg' ~~ rx{ abc <?before def> }; # OUTPUT: 「abc」

0 commit comments

Comments
 (0)