@@ -19,7 +19,7 @@ to disambiguate, a regular expression in Perl 6 is normally referred to as a
19
19
I < regex > (from: I < reg > ular I < ex > pression), a term that is also in common use in
20
20
other programming languages.
21
21
22
- In Perl 6, regexes are written in a
22
+ In Perl 6, regexes are written in a
23
23
L < I < domain-specific language > |https://en.wikipedia.org/wiki/Domain-specific_language> ,
24
24
i.e. a sublanguage or I < slang > . This page describes this language, and explains how
25
25
regexes can be used to search for text patterns in strings in a process called
@@ -85,7 +85,7 @@ the line.
85
85
= end item
86
86
87
87
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
89
89
opening delimiter to modify the definition of the entire regex:
90
90
91
91
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>/»
244
244
245
245
The L < C < match > |/type/Str#method_match> method is analogous to the C < m/ / >
246
246
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
248
249
249
250
= begin item
250
251
I « Parsing grammars: grammar-name.parse($string) »
0 commit comments