mirror of
https://github.com/tc39/test262.git
synced 2025-11-12 01:39:43 +01:00
Fix Python warning in linter
Noticed while looking at the linter output.
This commit is contained in:
parent
421eebef85
commit
7b3764f570
@ -13,7 +13,8 @@ class CheckEsid(Check):
|
||||
# https://url.spec.whatwg.org/#fragment-state
|
||||
# However, that must also include "%"
|
||||
self.esidRegex = re.compile(
|
||||
u"^[a-z0-9!$%&'()*+,\-./:;=?@_~\u00a0-\U0010fffd]+$", re.IGNORECASE
|
||||
u"^[a-z0-9!$%&'()*+,\\-./:;=?@_~\u00a0-\U0010fffd]+$",
|
||||
re.IGNORECASE
|
||||
)
|
||||
|
||||
def run(self, name, meta, source):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user