Skip to content

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