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

addresses #4230 by adding an optional match for multiple IP strings #137

Closed
wants to merge 1 commit into from

Conversation

mattwwarren
Copy link

As mentioned in http://dev.piwik.org/trac/ticket/4230#comment:3, an optional match was added to the log detection regex

@diosmosis
Copy link
Member

The regex changes are incorrect. The changes will match "1.2.3.4, 3.4.5.6" as one group. The desired behavior is "1.2.3.4" to be matched and the rest ignored. Note: the brackets you used ('[ ... ]') will create a character class and because you place a space plus \S (represents any non-space character) within it, the change will match any character.

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.

None yet

3 participants