projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f1100
)
mktables: Avoid possible user-defined property
author
Karl Williamson
<public@khwilliamson.com>
Mon, 30 May 2011 03:14:51 +0000
(21:14 -0600)
committer
Karl Williamson
<public@khwilliamson.com>
Mon, 30 May 2011 03:35:58 +0000
(21:35 -0600)
Properties with no elements are defined in terms of the complement
of the property which matches all of Unicode: \p{Any}. But it
currently is defined in terms of IsAny, which is user-overridable;
Just drop the 'Is'
lib/unicore/mktables
patch
|
blob
|
history
diff --git
a/lib/unicore/mktables
b/lib/unicore/mktables
index
25a74ec
..
e93e0a2
100644
(file)
--- a/
lib/unicore/mktables
+++ b/
lib/unicore/mktables
@@
-4967,7
+4967,7
@@
sub trace { return main::trace(@_); }
# utf8.c, which can't really deal with empty tables, but it can
# deal with a table that matches nothing, as the inverse of 'Any'
# does.
- push @OUT, "!utf8::
Is
Any\n";
+ push @OUT, "!utf8::Any\n";
}
else {
my $range_size_1 = $range_size_1{$addr};