Skip to content

Conversation

@MaxGiting
Copy link
Collaborator

@JayBizzle
Copy link
Owner

Its failing against this user agent in the devices.txt test file

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22 Lightning/2.7b1

@JayBizzle
Copy link
Owner

...although i'm not sure why

@JayBizzle
Copy link
Owner

NING\/ is matching Lightning/2.7b1

@MaxGiting
Copy link
Collaborator Author

Beat me to it yes it is. I'll add the version number to NING

@JayBizzle
Copy link
Owner

You could prefix the regex with a caret ^ to indicate it has to be at the start of the string

JayBizzle added a commit that referenced this pull request Nov 26, 2015
@JayBizzle JayBizzle merged commit 68eb02c into JayBizzle:master Nov 26, 2015
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