Correct handling of /
in pattern
#684
Unanswered
tschmidtb51
asked this question in
Q&A
Replies: 1 comment 7 replies
-
By "Deno" I imagine you mean https://deno.com/? This seems more like a question about how Javascript handles regex rather than a JSON Schema question. Can you elaborate? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm wondering whether the following pattern
^ANY:/[ab]$
is a valid JSON pattern. Many implementations accept it but for example Deno requires to escape the/
for it to be valid. So the question is: Is that an issue with the pattern or with deno? How should the spec be interpreted? (I had a look through the spec but was not really successful to resolve the question).Beta Was this translation helpful? Give feedback.
All reactions