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

Kleene closure is broken #28

Closed
edmcman opened this issue Feb 10, 2016 · 1 comment
Closed

Kleene closure is broken #28

edmcman opened this issue Feb 10, 2016 · 1 comment

Comments

@edmcman
Copy link

edmcman commented Feb 10, 2016

>>> parse('(ab*)*').to_fsm().accepts('bb')
True

>>> parse('(ab*)*').to_fsm()
fsm(alphabet = set(['a', anything_else, 'b']), states = set([0]), initial = 0, finals = set([0]), map = {0: {'a': 0, 'b': 0}})
edmcman pushed a commit to edmcman/greenery that referenced this issue Feb 10, 2016
@qntm
Copy link
Owner

qntm commented Feb 10, 2016

This is a good spot and definitely a defect, thanks for finding it.

@qntm qntm closed this as completed in 1bda995 Feb 10, 2016
qntm added a commit that referenced this issue Feb 10, 2016
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