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

Make property scanning in sets consistent #35

Merged
merged 1 commit into from
Sep 17, 2017
Merged

Make property scanning in sets consistent #35

merged 1 commit into from
Sep 17, 2017

Conversation

jaynetics
Copy link
Collaborator

See issue #28.

The in_set global is actually set correctly here, but for nonproperties with a caret, the :set type is then overridden here.

This PR fixes this.

As a bonus, it correctly detects \P{^foo} as a positive :property, although probably no one in his right mind would write that 😁

@jaynetics jaynetics merged commit ce6f52f into ammar:master Sep 17, 2017
@jaynetics jaynetics deleted the make_property_scanning_in_sets_consistent branch September 17, 2017 10:46
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

Successfully merging this pull request may close these issues.

1 participant