diff options
Diffstat (limited to 'checklines.py3')
-rw-r--r-- | checklines.py3 | 2 |
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 |