summaryrefslogtreecommitdiff
path: root/pod/perlreapi.pod
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-04-09 16:33:07 -0600
committerKarl Williamson <public@khwilliamson.com>2011-04-12 12:34:50 -0600
commitf0f9b3b837ba5aa54ede5cd72ec0f3e00345c17d (patch)
treebe474cbf3091b0ea26456d9b624890d7e110e6e9 /pod/perlreapi.pod
parente0d4127d4f78760fc7f7c1fa6ebacf705baedb07 (diff)
downloadperl-f0f9b3b837ba5aa54ede5cd72ec0f3e00345c17d.tar.gz
perlreapi: Update as little as possible for 5.14
This keeps the docs at parity with earlier Perls.
Diffstat (limited to 'pod/perlreapi.pod')
-rw-r--r--pod/perlreapi.pod23
1 files changed, 14 insertions, 9 deletions
diff --git a/pod/perlreapi.pod b/pod/perlreapi.pod
index 7028650549..1c694a7231 100644
--- a/pod/perlreapi.pod
+++ b/pod/perlreapi.pod
@@ -120,21 +120,26 @@ TODO: Document those cases.
=item C</p> - RXf_PMf_KEEPCOPY
-=back
-
-Additional flags:
-
-=over 4
-
-=item RXf_PMf_LOCALE
-
-Set if C<use locale> is in effect. If present in C<< rx->extflags >>
+=item Character set
+
+The character set semantics are determined by an enum that is contained
+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
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
locale>.
+=back
+
+Additional flags:
+
+=over 4
+
=item RXf_UTF8
Set if the pattern is L<SvUTF8()|perlapi/SvUTF8>, set by Perl_pmruntime.