Pagawa / PgwBrowser

Browser & OS / platform detection plugin for jQuery and Zepto
GNU General Public License v3.0
64 stars 35 forks source link

Incorrect RegExp pattern strings #4

Closed ianlotinsky closed 9 years ago

ianlotinsky commented 9 years ago

For example, the identifier pattern string for Mavericks should be 'Mac OS X (10([_|\.])9([0-9_\.]*))'

The . character is preceded by \ since . is a RegExp special character that matches any non-whitespace character.

jonathan-piat commented 9 years ago

Fixed. Thanks for your report.