aboutsummaryrefslogtreecommitdiff
path: root/checklines.py3
diff options
context:
space:
mode:
authoruser <user@debian>2015-02-13 10:43:25 -0300
committeruser <user@debian>2015-02-13 10:43:25 -0300
commit602e52dbaca44529e110940aad68a3904316d821 (patch)
tree8b84f3f7aedb3273f0ee6f6e847dbf2d8e05be80 /checklines.py3
parentmore convenience multi-key sequences (diff)
parentSome stuff I added a while ago and didn't commit... Long dashes, etc. (diff)
downloaddotXCompose-602e52dbaca44529e110940aad68a3904316d821.tar.gz
dotXCompose-602e52dbaca44529e110940aad68a3904316d821.tar.bz2
dotXCompose-602e52dbaca44529e110940aad68a3904316d821.zip
Merge branch 'master' of github.com:kragen/xcompose
Conflicts: dotXCompose
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