git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
887c3bf
)
unicode: classify private use characters as unassigned
author
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 24 Apr 2017 00:41:48 +0000
(
02:41
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 29 May 2017 16:51:17 +0000
(18:51 +0200)
Technically in Unicode v6.0 but not safe to use, so l1 style is more
appropriate.
Shiar_Sheet/FormatChar.pm
patch
|
blob
|
history
diff --git
a/Shiar_Sheet/FormatChar.pm
b/Shiar_Sheet/FormatChar.pm
index 71dadfee0e4d96b744f2d3102a9ef38cc5ac5386..c0a4cb0b6032ddf36bd181a0d78a85f8f6c7d1cb 100644
(file)
--- a/
Shiar_Sheet/FormatChar.pm
+++ b/
Shiar_Sheet/FormatChar.pm
@@
-136,7
+136,7
@@
sub cell {
if ($input =~ /[ -~]/) {
push @class, 'l5', 'u-ascii'; # ascii
}
- elsif ($input =~ /^\p{in=6.0}+$/) {
+ elsif ($input =~ /^\p{in=6.0}+$/
and $input !~ /\p{Co}/
) {
push @class, 'l2'; # in unicode 6.0
}
else {