File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -261,9 +261,16 @@ Examples of word characters:
261
261
262
262
= end table
263
263
264
- Note that the character classes C « <same> » , C « <wb> » and C « <ww> » are
265
- so called zero-width assertions, which do not really match a
266
- character.
264
+ The predefined character classes in the leftmost column are all of the form
265
+ C « <name> » , a hint to the fact that they are implemented as built-in L < named
266
+ regexes|language/regexes#Subrules > . As such they are subject to the usual
267
+ capturing semantics. This means, inter alia, that these classes do not only
268
+ match, but also capture, installing a correspondingly named L < named
269
+ capture|/language/regexes#Named_captures > in the resulting L < Match
270
+ object|/type/Match > .
271
+
272
+ Note that the character classes C « <same> » , C « <wb> » and C « <ww> » are so-called
273
+ zero-width assertions, which do not really match any character.
267
274
268
275
= head2 X « Unicode properties|regex,<:property> »
269
276
You can’t perform that action at this time.
0 commit comments