Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegExp special characters are not escaped for string template literals #602

Closed
ahochsteger opened this issue May 11, 2024 · 0 comments · Fixed by #603
Closed

RegExp special characters are not escaped for string template literals #602

ahochsteger opened this issue May 11, 2024 · 0 comments · Fixed by #603

Comments

@ahochsteger
Copy link
Contributor

A string template literal like ${string}.${string} currently produces a string pattern of "^.*..*$" in the resulting JSON schema while the correct pattern would be "^.*\\..*$".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant