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

a+ pattern in pattern validator doesn't work #6

Closed
stevehu opened this issue Oct 21, 2016 · 0 comments
Closed

a+ pattern in pattern validator doesn't work #6

stevehu opened this issue Oct 21, 2016 · 0 comments

Comments

@stevehu
Copy link
Contributor

stevehu commented Oct 21, 2016

The following test case fails as Java regular express returns false. Need a workaround.
{
"description": "pattern is not anchored",
"schema": {"pattern": "a+"},
"tests": [
{
"description": "matches a substring",
"data": "xxaayy",
"valid": true
}
]
}

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

No branches or pull requests

1 participant