summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-16 09:21:25 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-16 09:21:25 +0000
commitc65e4d19dcce98b8a7e895060b6fe141cfaef8a6 (patch)
tree581563a8247f0242f08f728ca4c88b3032c28606 /utf8.c
parent03476e8e225023314ac8982933b2825edd7b8b8c (diff)
downloadperl-c65e4d19dcce98b8a7e895060b6fe141cfaef8a6.tar.gz
Synchronize the specifications of the POSIX character
classes alnum, graph, and print closer to the planned Unicode proposal. p4raw-id: //depot/perl@19231
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index b112d4c9a3..0dd9ad8083 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1235,7 +1235,7 @@ Perl_is_utf8_upper(pTHX_ U8 *p)
if (!is_utf8_char(p))
return FALSE;
if (!PL_utf8_upper)
- PL_utf8_upper = swash_init("utf8", "IsUpper", &PL_sv_undef, 0, 0);
+ PL_utf8_upper = swash_init("utf8", "IsUppercase", &PL_sv_undef, 0, 0);
return swash_fetch(PL_utf8_upper, p, TRUE) != 0;
}
@@ -1245,7 +1245,7 @@ Perl_is_utf8_lower(pTHX_ U8 *p)
if (!is_utf8_char(p))
return FALSE;
if (!PL_utf8_lower)
- PL_utf8_lower = swash_init("utf8", "IsLower", &PL_sv_undef, 0, 0);
+ PL_utf8_lower = swash_init("utf8", "IsLowercase", &PL_sv_undef, 0, 0);
return swash_fetch(PL_utf8_lower, p, TRUE) != 0;
}