mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
tools/lint/lib/checks/esid.py: allow "sup-"
This commit is contained in:
parent
4afc330363
commit
1a057550d8
@ -8,7 +8,7 @@ class CheckEsid(Check):
|
||||
def __init__(self):
|
||||
#self.es5idRegex = re.compile(r"^S?(B|\d+)(\.\d+)+(-(\d+|[a-z]|i+))*(_A\d(\.\d+)?(_T\d(\.\d+)?)?)?$")
|
||||
self.es6idRegex = re.compile(r"^(S?(B|\d+)(\.\d+)+(((_A\d\.\d)?_T?\d)|[ _]S\d+(\.[a-z])*)?(, |$))+")
|
||||
self.esidRegex = re.compile(r"^(pending|(prod|sec)-[-_A-Za-z0-9.%@]+)$")
|
||||
self.esidRegex = re.compile(r"^(pending|(prod|sec|sup)-[-_A-Za-z0-9.%@]+)$")
|
||||
|
||||
def run(self, name, meta, source):
|
||||
if not meta:
|
||||
|
Loading…
x
Reference in New Issue
Block a user