aboutsummaryrefslogtreecommitdiff
path: root/checklines.py3
diff options
context:
space:
mode:
authorMark Shoulson <mark@kli.org>2014-08-11 19:39:47 -0400
committerMark Shoulson <mark@kli.org>2014-08-11 19:39:47 -0400
commit03eec2842f4b43f0321b2a48a9d7662d2cb4af26 (patch)
tree777444efe4a9dbb61916f3ca0a6871c9417ee020 /checklines.py3
parentAdd 「」 『』 (diff)
downloaddotXCompose-03eec2842f4b43f0321b2a48a9d7662d2cb4af26.tar.gz
dotXCompose-03eec2842f4b43f0321b2a48a9d7662d2cb4af26.tar.bz2
dotXCompose-03eec2842f4b43f0321b2a48a9d7662d2cb4af26.zip
Add some math symbols, brackets, and superscript chars.
Diffstat (limited to 'checklines.py3')
-rw-r--r--checklines.py32
1 files changed, 1 insertions, 1 deletions
diff --git a/checklines.py3 b/checklines.py3
index dcf76cb..e38bba1 100644
--- a/checklines.py3
+++ b/checklines.py3
@@ -15,7 +15,7 @@ for line in sys.stdin:
print("({0})".format(line))
continue
(keystrokes, char, num, comments)=match.groups()
- nummatch=re.match(r'U([0-9A-Fa-f]+)', num)
+ nummatch=re.match(r'^U([0-9A-Fa-f]+)$', num)
if not nummatch:
print("Number not parsed: {0}".format(line))
continue