Skip to content

Commit c109d3a

Browse files
authored
Merge branch 'master' into github-pypi-actions
2 parents f8a8de4 + 613bdde commit c109d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/idna-data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ def main():
671671
elif args.action == 'make-libdata':
672672
make_libdata(args, ucdata)
673673
else:
674-
result = re.match(r'^(?i)(U\+|)(?P<cp>[0-9A-F]{4,6})$', args.action)
674+
result = re.match(r'(?i)^(U\+|)(?P<cp>[0-9A-F]{4,6})$', args.action)
675675
if result:
676676
codepoint = int(result.group('cp'), 16)
677677
diagnose_codepoint(codepoint, args, ucdata)

0 commit comments

Comments
 (0)