Skip to content

Commit 22095ed

Browse files
Minor corrections
1 parent d7b4856 commit 22095ed

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/Language/regexes.pod6

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ to disambiguate, a regular expression in Perl 6 is normally referred to as a
1919
I<regex> (from: I<reg>ular I<ex>pression), a term that is also in common use in
2020
other programming languages.
2121
22-
In Perl 6, regexes are written in a
22+
In Perl 6, regexes are written in a
2323
L<I<domain-specific language>|https://en.wikipedia.org/wiki/Domain-specific_language>,
2424
i.e. a sublanguage or I<slang>. This page describes this language, and explains how
2525
regexes can be used to search for text patterns in strings in a process called
@@ -85,7 +85,7 @@ the line.
8585
=end item
8686
8787
Secondly, the C<rx> form enables the use of
88-
L<regex adverbs|/language/regexes#Adverbs>, which may be placed between C<rx> and the
88+
L<regex adverbs|/language/regexes#Regex_adverbs>, which may be placed between C<rx> and the
8989
opening delimiter to modify the definition of the entire regex:
9090
9191
rx:r:s/pattern/; # :r (:ratchet) and :s (:sigspace) adverbs, defining
@@ -244,7 +244,8 @@ I«Match method: "string".match: /pattern/, or "string".match: /<R>/»
244244
245245
The L<C<match>|/type/Str#method_match> method is analogous to the C<m/ />
246246
operator discussed above. Invoking it on a string, with a C<Regex> as an
247-
argument, matches the string against the C<Regex>. =end item
247+
argument, matches the string against the C<Regex>.
248+
=end item
248249
249250
=begin item
250251
I«Parsing grammars: grammar-name.parse($string)»

0 commit comments

Comments
 (0)