Forgot to include \r in the url regex

This commit is contained in:
Kovid Goyal
2021-07-19 18:09:00 +05:30
parent c566ed4643
commit 3633049ba5
6 changed files with 9 additions and 6 deletions

View File

@@ -388,7 +388,8 @@ def gen_ucd() -> None:
rmap[0xfe0e], rmap[0xfe0f]
))
with open('kittens/hints/url_regex.py', 'w') as f:
f.write("url_delimiters = '{}' # noqa".format(''.join(classes_to_regex(cz, exclude='\n'))))
f.write('# generated by gen-wcwidth.py, do not edit\n\n')
f.write("url_delimiters = '{}' # noqa".format(''.join(classes_to_regex(cz, exclude='\n\r'))))
def gen_names() -> None: