@@ -1040,7 +1040,7 @@ This will match all the digit characters that are in the Thai script.
1040
1040
This feature became available in Perl 5.18, as experimental; accepted in
1041
1041
5.36.
1042
1042
1043
- The rules used by L<C<use re 'strict>|re/'strict' mode> apply to this
1043
+ The rules used by L<C<use re 'strict' >|re/'strict' mode> apply to this
1044
1044
construct.
1045
1045
1046
1046
We can extend the example above:
@@ -1069,7 +1069,7 @@ There is one unary operator:
1069
1069
1070
1070
! complement
1071
1071
1072
- All the binary operators left associate; C<"&" > is higher precedence
1072
+ All the binary operators left associate; C<& > is higher precedence
1073
1073
than the others, which all have equal precedence. The unary operator
1074
1074
right associates, and has highest precedence. Thus this follows the
1075
1075
normal Perl precedence rules for logical operators. Use parentheses to
@@ -1102,7 +1102,7 @@ All the other escapes accepted by normal bracketed character classes are
1102
1102
accepted here as well.
1103
1103
1104
1104
Because this construct compiles under
1105
- L<C<use re 'strict>|re/'strict' mode>, unrecognized escapes that
1105
+ L<C<use re 'strict' >|re/'strict' mode>, unrecognized escapes that
1106
1106
generate warnings in normal classes are fatal errors here, as well as
1107
1107
all other warnings from these class elements, as well as some
1108
1108
practices that don't currently warn outside C<re 'strict'>. For example
@@ -1120,7 +1120,7 @@ raised, as the result is not Unicode-defined. No such warning will come
1120
1120
when using this extended form.
1121
1121
1122
1122
The final difference between regular bracketed character classes and
1123
- these, is that it is not possible to get these to match a
1123
+ these is that it is not possible to get these to match a
1124
1124
multi-character fold. Thus,
1125
1125
1126
1126
/(?[ [\xDF] ])/iu
@@ -1133,7 +1133,7 @@ hence both of the following work:
1133
1133
/(?[ [:word:] - [:lower:] ])/
1134
1134
/(?[ [[:word:]] - [[:lower:]] ])/
1135
1135
1136
- Any contained POSIX character classes, including things like C<\w> and C<\D>
1136
+ Any contained POSIX character classes, including things like C<\w> and C<\D>,
1137
1137
respect the C<E<sol>a> (and C<E<sol>aa>) modifiers.
1138
1138
1139
1139
Note that C<< (?[ ]) >> is a regex-compile-time construct. Any attempt
@@ -1145,7 +1145,7 @@ just three limitations:
1145
1145
1146
1146
=item 1
1147
1147
1148
- When compiled within the scope of C<use locale> (or the C<E<sol>l> regex
1148
+ When compiled within the scope of L< C<use locale>| locale> (or the C<E<sol>l> regex
1149
1149
modifier), this construct assumes that the execution-time locale will be
1150
1150
a UTF-8 one, and the generated pattern always uses Unicode rules. What
1151
1151
gets matched or not thus isn't dependent on the actual runtime locale, so
@@ -1163,15 +1163,15 @@ properties).
1163
1163
=item 3
1164
1164
1165
1165
A regular expression that otherwise would compile
1166
- using C<E<sol>d> rules, and which uses this construct will instead
1166
+ using C<E<sol>d> rules and which uses this construct will instead
1167
1167
use C<E<sol>u>. Thus this construct tells Perl that you don't want
1168
1168
C<E<sol>d> rules for the entire regular expression containing it.
1169
1169
1170
1170
=back
1171
1171
1172
1172
Note that skipping white space applies only to the interior of this
1173
1173
construct. There must not be any space between any of the characters
1174
- that form the initial C<(?[>. Nor may there be space between the
1174
+ that form the initial C<(?[>, nor may there be space between the
1175
1175
closing C<])> characters.
1176
1176
1177
1177
Just as in all regular expressions, the pattern can be built up by
0 commit comments