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

Stateful Regexps #17

Open
DavidBruant opened this issue Aug 2, 2012 · 1 comment
Open

Stateful Regexps #17

DavidBruant opened this issue Aug 2, 2012 · 1 comment

Comments

@DavidBruant
Copy link
Owner

re = /foo/g; alert(re.test('now foo')); alert(re.test('foo now')); This will alert first true then false #wtfjs 

https://twitter.com/erikcorry/status/231050692553502720
https://twitter.com/BrendanEich/status/231066800304046080

@DavidBruant
Copy link
Owner Author

Always inline regexps

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

No branches or pull requests

1 participant