We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can do add("[0-9.,]") but it defies the purpose of the library.
add("[0-9.,]")
The text was updated successfully, but these errors were encountered:
It is not exactly the same, but you could do:
regex().oneOf( regex().range("0","9").build().toString(), regex().anyOf(",.").build().toString() ).build()
Which would be equivalent to
(?:(?:[0-9])|(?:[\\,\\.]))
Simplifying for clarity:
([0-9]|[\\,\\.])
Sorry, something went wrong.
No branches or pull requests
I can do
add("[0-9.,]")
but it defies the purpose of the library.The text was updated successfully, but these errors were encountered: