mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
Python: handle \uxxxx and refactor
This commit is contained in:
@@ -142,6 +142,7 @@ re.compile(r"\[(?P<txt>[^[]*)\]\((?P<uri>[^)]*)")
|
||||
|
||||
#Allow unicode in raw strings
|
||||
re.compile(r"[\U00010000-\U0010FFFF]")
|
||||
re.compile(r"[\u0000-\uFFFF]")
|
||||
|
||||
#Allow unicode names
|
||||
re.compile(r"[\N{degree sign}\N{EM DASH}]")
|
||||
Reference in New Issue
Block a user