Home
last modified time | relevance | path

Searched refs:escapeRegExp (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/tracing/third_party/css-element-queries/test/
Dmootools-core-full-nocompat.js644 escapeRegExp: function(){ method
1552 var escapeRegExp = function(string){// Credit: XRegExp 0.6.1 (c) 2007-2008 Steven Levithan <http://… function
1588 .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 …]