summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-12-23 20:35:54 -0700
committerKarl Williamson <public@khwilliamson.com>2013-12-31 08:27:23 -0700
commit2d88a86a5910c97496b47b7b7c223f2c9a14b57c (patch)
treec0125ea6a9b6175c93245c4048773ae82e0f4efc /utf8.c
parentf215ab38f4d9ea2dca08fc71b38db0eb650d5107 (diff)
downloadperl-2d88a86a5910c97496b47b7b7c223f2c9a14b57c.tar.gz
Change \p{} matching for above-Unicode code points
http://markmail.org/message/eod7ukhbbh5tnll4 is the beginning of the thread that led to this commit. This commit revises the handling of \p{} and \P{} to treat above-Unicode code points as typical Unicode unassigned ones, and only output a warning during matching when the answer is arguable under strict Unicode rules (that is "matched" for \p{}, and "didn't match" for \P{}). The exception is if the warning category has been made fatal, then it tries hard to always output the warning. The definition of \p{All} is changed to be qr/./s, and no warning is issued at all for matching it against above-Unicode code points.
Diffstat (limited to 'utf8.c')
0 files changed, 0 insertions, 0 deletions