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
verbalExpr = require("verbal-expressions") endOfOutputTester = verbalExpr() .startOfLine() .then("www") test1 = "www" console.log(endOfOutputTester.test(test1)) console.log(endOfOutputTester.test(test1)) console.log(endOfOutputTester.test(test1)) console.log(endOfOutputTester.test(test1)) console.log(endOfOutputTester.test(test1))
the output is
true false true false true
using version 0.1.0
The text was updated successfully, but these errors were encountered:
I did a bit of research and found that this is not caused by this library it's a bug in the regex engine:
http://blog.stevenlevithan.com/archives/es3-regexes-broken
For your particular example removing the g modifier would fix the problem
g
var reg = VerEx().startOfLine().then("www").removeModifier("g");
Sorry, something went wrong.
No branches or pull requests
the output is
using version 0.1.0
The text was updated successfully, but these errors were encountered: