diff options
author | Karl Williamson <khw@cpan.org> | 2019-12-08 12:16:29 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-12-09 15:32:49 -0700 |
commit | 1c2f3d7a101e8233a39695492df7bc03c8e2b3bc (patch) | |
tree | 7f8f41762241c799f77e7c7d0029f1fa952e36d5 /pod/perlunicode.pod | |
parent | c37687588b489d66c0093c09f5b6fe74c8772b4b (diff) | |
download | perl-1c2f3d7a101e8233a39695492df7bc03c8e2b3bc.tar.gz |
PATCH GH #17025 \p{user-defined} overrides official Unicode
Prior to this patch, they only sometimes overrode.
Diffstat (limited to 'pod/perlunicode.pod')
-rw-r--r-- | pod/perlunicode.pod | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod index e048df6df6..59058225b7 100644 --- a/pod/perlunicode.pod +++ b/pod/perlunicode.pod @@ -1066,7 +1066,9 @@ You can define your own binary character properties by defining subroutines whose names begin with C<"In"> or C<"Is">. (The experimental feature L<perlre/(?[ ])> provides an alternative which allows more complex definitions.) The subroutines can be defined in any -package. The user-defined properties can be used in the regular expression +package. They override any Unicode properties expressed as the same +names. The user-defined properties can be used in the regular +expression C<\p{}> and C<\P{}> constructs; if you are using a user-defined property from a package other than the one you are in, you must specify its package in the C<\p{}> or C<\P{}> construct. |