diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/pods/perlreapi.pod')
-rw-r--r-- | Master/tlpkg/tlperl/lib/pods/perlreapi.pod | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/tlpkg/tlperl/lib/pods/perlreapi.pod b/Master/tlpkg/tlperl/lib/pods/perlreapi.pod index 1c694a72318..5e456208684 100644 --- a/Master/tlpkg/tlperl/lib/pods/perlreapi.pod +++ b/Master/tlpkg/tlperl/lib/pods/perlreapi.pod @@ -120,6 +120,8 @@ TODO: Document those cases. =item C</p> - RXf_PMf_KEEPCOPY +TODO: Document this + =item Character set The character set semantics are determined by an enum that is contained @@ -127,11 +129,11 @@ in this field. This is still experimental and subject to change, but the current interface returns the rules by use of the in-line function C<get_regex_charset(const U32 flags)>. The only currently documented value returned from it is REGEX_LOCALE_CHARSET, which is set if -C<use locale> is in effect. If present in C<< rx->extflags >> -C<split> will use the locale dependent definition of whitespace under -when RXf_SKIPWHITE or RXf_WHITE are in effect. Under ASCII whitespace +C<use locale> is in effect. If present in C<< rx->extflags >>, +C<split> will use the locale dependent definition of whitespace +when RXf_SKIPWHITE or RXf_WHITE is in effect. ASCII whitespace is defined as per L<isSPACE|perlapi/isSPACE>, and by the internal -macros C<is_utf8_space> under UTF-8 and C<isSPACE_LC> under C<use +macros C<is_utf8_space> under UTF-8, and C<isSPACE_LC> under C<use locale>. =back @@ -287,7 +289,7 @@ sure this is used as the new value (or reject it). Example: if ("ook" =~ /(o*)/) { - # `paren' will be `1' and `value' will be `ee' + # 'paren' will be '1' and 'value' will be 'ee' $1 =~ tr/o/e/; } @@ -584,7 +586,7 @@ Substring data about strings that must appear in the final match. This is currently only used internally by perl's engine for but might be used in the future for all engines for optimisations. -=head2 C<nparens>, C<lasparen>, and C<lastcloseparen> +=head2 C<nparens>, C<lastparen>, and C<lastcloseparen> These fields are used to keep track of how many paren groups could be matched in the pattern, which was the last open paren to be entered, and which was |