Burak Gürsoy avatar Burak Gürsoy committed a91bcd8

Fix regex

Comments (0)

Files changed (3)

 Revision history for Perl extension Parse::HTTP::UserAgent
+0.33 Tue Nov 15 05:22:15 2011
+   => Fix version warning regex.
 0.32 Sun Nov  6 00:55:40 2011
    => Internal cleanup.
    => Fixed RT#72159 (Arsen Shirokov).


 use warnings;
 use vars qw( $VERSION );
-$VERSION = '0.32';
+$VERSION = '0.33';
 use base qw(


 use constant RE_DIGIT_DOT_DIGIT  => qr{\d+[.]?\d}xms;
 use constant RE_WARN_OVERFLOW => qr{\QInteger overflow in version\E}xms;
-use constant RE_WARN_INVALID  => qr{\QVersion string .+? contains invalid data; ignoring:\E}xms;
+use constant RE_WARN_INVALID  => qr{\QVersion string\E .+? \Qcontains invalid data; ignoring:\E}xms;
 use constant ERROR_MAXTHON_VERSION  => 'Unable to extract Maxthon version from Maxthon UA-string';
 use constant ERROR_MAXTHON_MSIE     => 'Unable to extract MSIE from Maxthon UA-string';
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.