Searched refs:escapeRegExp (Results 1 – 1 of 1) sorted by relevance
644 escapeRegExp: function(){ method1552 var escapeRegExp = function(string){// Credit: XRegExp 0.6.1 (c) 2007-2008 Steven Levithan <http://… function1588 .replace(/<combinator>/, '[' + escapeRegExp(">+~`!@$%^&={}\\;</") + ']')1645 regexp: new RegExp('(^|\\s)' + escapeRegExp(className) + '(\\s|$)')1666 case '^=' : regexp = new RegExp( '^'+ escapeRegExp(attributeValue) ); break;1667 case '$=' : regexp = new RegExp( escapeRegExp(attributeValue) +'$' ); break;1668 case '~=' : regexp = new RegExp( '(^|\\s)'+ escapeRegExp(attributeValue) +'(\\s|$)' ); break;1669 case '|=' : regexp = new RegExp( '^'+ escapeRegExp(attributeValue) +'(-|$)' ); break;1713 Slick.escapeRegExp = escapeRegExp;2036 var matchClass = new RegExp('(^|\\s)'+ Slick.escapeRegExp(name) +'(\\s|$)');[all …]