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
Got error Invalid flags supplied to RegExp constructor '8}$' in Chrome console when using regex validation on input like this
Invalid flags supplied to RegExp constructor '8}$'
<input v-validate data-vv-rules='regex:^[A-Za-z0-9\-]{6,8}$|required' type="text" name="sort code" v-model="bankSortCode" aria-required="true" />
The regex is valid and tested here https://regex101.com/
The text was updated successfully, but these errors were encountered:
The regex is valid, but the plugin reserves the pipes | and the commas , for parsing the rules.
|
,
Workaround is mentioned here #64 and there is a better solution coming up in this PR #202 which should be the next release.
Sorry, something went wrong.
Oh ok. Can't wait for the next release!
No branches or pull requests
Versions:
Description:
Got error
Invalid flags supplied to RegExp constructor '8}$'
in Chrome console when using regex validation on input like this<input v-validate data-vv-rules='regex:^[A-Za-z0-9\-]{6,8}$|required' type="text" name="sort code" v-model="bankSortCode" aria-required="true" />
The regex is valid and tested here https://regex101.com/
The text was updated successfully, but these errors were encountered: