summaryrefslogtreecommitdiff
path: root/lib/charnames.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/charnames.pm')
-rw-r--r--lib/charnames.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/charnames.pm b/lib/charnames.pm
index a540d14f7f..af33c86abc 100644
--- a/lib/charnames.pm
+++ b/lib/charnames.pm
@@ -235,7 +235,7 @@ sub vianame
$txt = do "unicore/Name.pl" unless $txt;
- if ($txt =~ m/^([0-9A-F]+)\t\t($arg)/m) {
+ if ($txt =~ m/^([0-9A-F]+)\t\t($arg)$/m) {
return $vianame{$arg} = hex $1;
} else {
return;