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

Match regexes that contain slashes in character classes #16

Merged
merged 1 commit into from
May 17, 2011
Merged

Match regexes that contain slashes in character classes #16

merged 1 commit into from
May 17, 2011

Conversation

int3
Copy link
Collaborator

@int3 int3 commented May 17, 2011

This matches regexes like http/:\/\/[^/]*google[^/]+/. Previously the syntax matcher would mistake the slash in [^/] for the end of the regex.

I've also taken care to match []x] and [^]x] as valid character classes.

pangloss pushed a commit that referenced this pull request May 17, 2011
Match regexes that contain slashes in character classes
@pangloss pangloss merged commit 6b11ba9 into pangloss:master May 17, 2011
@pangloss
Copy link
Owner

Looks good, thanks!

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.

2 participants