This project is archived and is in readonly mode.

#1141 ✓resolved
Slik

Problem with Slick on blackberry phones

Reported by Slik | January 12th, 2011 @ 12:26 PM | in 1.3.1 (closed)

I noticed that some blackberry phones (tested on bold 9700) doesn't support some RegExps

var escapeRegExp = function(string){// Credit: XRegExp 0.6.1 (c) 2007-2008 Steven Levithan http://stevenlevithan.com/regex/xregexp/ MIT License

return string.replace(/[-[\]{}()*+?.\\^$|,#\s]/g, "\\$&");

};

in the Slick.Parser doesn't work ("$&" is unsupported)

Solution:
http://jsfiddle.net/slik/F576D/

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Tags

Pages