mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Python: test for unicode in raw strings
This commit is contained in:
@@ -139,3 +139,6 @@ re.compile(r'(?:(?P<n1>^(?:|x)))')
|
|||||||
|
|
||||||
#Potentially mis-parsed character set
|
#Potentially mis-parsed character set
|
||||||
re.compile(r"\[(?P<txt>[^[]*)\]\((?P<uri>[^)]*)")
|
re.compile(r"\[(?P<txt>[^[]*)\]\((?P<uri>[^)]*)")
|
||||||
|
|
||||||
|
#Allow unicode in raw strings
|
||||||
|
re.compile(r"[\U00010000-\U0010FFFF]")
|
||||||
Reference in New Issue
Block a user