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

Error in exrex.count #14

Closed
s-tikhomirov opened this issue Feb 5, 2016 · 2 comments
Closed

Error in exrex.count #14

s-tikhomirov opened this issue Feb 5, 2016 · 2 comments
Labels

Comments

@s-tikhomirov
Copy link

I observe the following behavior, and it is obviously incorrect:

>>> list(exrex.generate("a|ab"))
[u'a', u'ab']
>>> exrex.count("a|ab")
1

@asciimoo
Copy link
Owner

asciimoo commented Feb 9, 2016

thanks, that's definitely a bug, i'll check it

@asciimoo asciimoo added the bug label Feb 9, 2016
@ao2
Copy link

ao2 commented Jul 5, 2016

Hi, I too saw this behavior when using alternatives: '(foo|bar)(20|)16'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants