Skip to content

Support for regex POSIX classes. e.g., \p{...} #119

Answered by p1c2u
messedupryan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @messedupryan

OpenAPI's regular expressions use syntax of regex from JavaScript (ECMA 262). That means POSIX classes are not part of the standard. You can find equipments in JS here. If you require POSIX classes in your case the best option for you would be to extend openapi validator with pattern validator of your choice.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by messedupryan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants