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

Visualizer not working properly #20

Closed
GreatRash opened this issue Jan 22, 2015 · 1 comment
Closed

Visualizer not working properly #20

GreatRash opened this issue Jan 22, 2015 · 1 comment

Comments

@GreatRash
Copy link

I think this expression - http://jex.im/regulex/#!embed=false&flags=&re=%5Ea%7Cb%24
and this expression - http://jex.im/regulex/#!embed=false&flags=&re=%5E(a%7Cb)%24
should look the same, except of 'group' block

@CJex
Copy link
Owner

CJex commented Jan 22, 2015

It shouldn't:

/^a|b$/.test("ac")
// => true
/^a|b$/.test("cb")
// => true

/^(a|b)$/.test("ac")
// =>false
/^(a|b)$/.test("a")
// => true

@CJex CJex closed this as completed Jan 22, 2015
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

2 participants