You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This string SHOULD be a valid regular expression, according to the ECMA 262 regular expression dialect
It is unclear which part of the ECMA 262 regular expression dialect this is referring to. As a result OpenAPI has linked to Section 7.8.5 which is for the RegularExpressionLiteral.
The correct reference is ECMA 262 Annex A.7, "Regular Expressions", although given that that section is informative rather than normative there might be some complications on exactly how to cite that. Referencing RegularExpressionBody for clarity would probably be a good idea.
The text was updated successfully, but these errors were encountered:
The specification for pattern says
It is unclear which part of the ECMA 262 regular expression dialect this is referring to. As a result OpenAPI has linked to Section 7.8.5 which is for the
RegularExpressionLiteral
.However, as per @handrews in OAI/OpenAPI-Specification#1985 (comment) the pattern string should be a
RegularExpressionBody
not aRegularExpressionLiteral
.The text was updated successfully, but these errors were encountered: