/external/chromium_org/v8/test/mjsunit/regress/ |
regress-1217.js | 28 // Check that RegExp.prototype is itself a RegExp object. 30 var proto = RegExp.prototype; 31 assertEquals("[object RegExp]", Object.prototype.toString.call(proto)); 49 // We disallow re-compiling the RegExp.prototype object.
|
regress-1200351.js | 68 eval("for (-1==continue.toJSONProtocol, GetFunctionFor(break.call(NaN)), (!new RegExp).prototype.new Object()<<void) { debugger.__defineSetter__(null,function(){continue})>>>=GetFunctionFor(-1) }") 80 eval("unescape(break.toObject()).prototype.new RegExp.continue.__lookupGetter__(x.slice(1, NaN)) = typeof(null.push(0.2))") 88 eval("function X(x) { return new RegExp.shift().concat({debugger,continue}) }; X(return goto 0)") 108 eval("String(new RegExp.call(1)).prototype.unescape(parseFloat(-1)) = false<<true.x.lastIndexOf(1)") 116 eval("new RegExp>>0.2.superConstructor.prototype.eval(void).className() = false.join().prototype.name") 148 eval("new Date(0<<'a'>>>=new RegExp['a'])") 152 eval("native {unescape(true),new RegExp.isNull}") 196 eval("for (new RegExp.join().className() in new Object().length()>>true.toObject()) { parseFloat(escape(debugger)) }") 204 eval("SetValueOf(1.indexOf('a')<<break.__lookupGetter__('a'), new Object().null.prototype.new RegExp.charCodeAt(-1))") 216 eval("native parseFloat(false.charAt(new RegExp))") [all...] |
regress-crbug-178790.js | 28 // Create a regexp in the form of a?a?...a? so that fully 35 "test".match(RegExp(r1)); 41 "test".match(RegExp(r2)); 43 // Create a regexp in the form of ((..(a)a..)a. 51 "test".match(RegExp(r3));
|
regress-escape-preserve-smi-representation.js | 12 if (objectClass === "RegExp") { return (a.toString() === b.toString()); }
|
regress-latin-1.js | 36 assertEquals(['\xfc\xdc', '\xfc'], new RegExp('(\xdc)\\1', 'i').exec('\xfc\xdc')); 48 base_result = new RegExp('(' + escaped + ')\\1', 'i').exec(base + base); 50 lo_result = new RegExp('(' + escaped + ')\\1', 'i').exec(base + lo);
|
/external/chromium_org/v8/test/webkit/fast/js/ |
regexp-unicode-handling.js | 64 var explicitRe=new RegExp(".m\\u2820p") 65 var newFromInlineRe=new RegExp(inlineRe.source) 67 var newFromEvalInlineRe=new RegExp(evalInlineRe.source) 69 var newFromExplicitRe=new RegExp(explicitRe.source) 100 var bexplicitRe=new RegExp(".m\\u007cp") 101 var bnewFromInlineRe=new RegExp(binlineRe.source) 103 var bnewFromEvalInlineRe=new RegExp(bevalInlineRe.source) 105 var bnewFromExplicitRe=new RegExp(bexplicitRe.source)
|
regexp-lastindex.js | 25 'Test for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=5602">REGRESSION: RegExp("[^\\s$]+", "g") returns extra matches</a>' 28 var re = new RegExp("[^\\s$]+", "g"); 33 var re = new RegExp(/\d/g);
|
/external/chromium_org/v8/test/mjsunit/ |
regexp-cache-replace.js | 28 // Tests that regexp caching isn't messing things up. 32 assertEquals("o", RegExp.$1); 34 assertEquals("x", RegExp.$1); 36 assertEquals("o", RegExp.$1);
|
regexp.js | 37 // Test containing null char in regexp. 39 var re = new RegExp(s); 89 // From ecma_3/RegExp/regress-334158.js 263 re = new RegExp("", "g"); 269 re = new RegExp(); 271 // giving a syntactically legal regexp literal). 273 re = new RegExp(void 0); 281 // Check for lazy RegExp literal creation 291 re = new RegExp("(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)"); 296 re = new RegExp("foo(.)") [all...] |
regexp-indexof.js | 48 assertEquals(lastExpected, RegExp.lastMatch, "lastMatch"); 49 assertEquals(str.substr(0, lastFrom), RegExp.leftContext, "leftContext"); 51 str.substr(lastFrom + lastLength), RegExp.rightContext, "rightContext"); 64 CheckMatch(new RegExp(""), "xxx", [[0, 0]]); 70 assertEquals("-a-b-c-d-e-f-", "abcdef".replace(new RegExp("", "g"), "-"));
|
regexp-global.js | 144 // Create regexp that has a *lot* of captures. 156 // Atomic regexp. 160 // Small regexp (no capture); 164 // Small regexp (one capture). 168 // Large regexp (a lot of captures). 169 regexps.push(new RegExp(re_string, "g")); 175 regexp, 183 assertEquals("deadbeef", RegExp.lastMatch); 184 assertEquals("dead", RegExp["$1"]); 186 assertEquals(last_match_expectations[i], RegExp.lastMatch) [all...] |
regexp-not-sticky-yet.js | 28 // Test that sticky regexp support is not affecting V8 when the 35 assertThrows(function() { new RegExp("foo.bar", "y"); }, SyntaxError); 36 assertThrows(function() { new RegExp("foobar", "y"); }, SyntaxError); 37 assertThrows(function() { new RegExp("foo.bar", "gy"); }, SyntaxError); 38 assertThrows(function() { new RegExp("foobar", "gy"); }, SyntaxError); 54 re.sticky = true; // Has no effect on the regexp, just sets a property.
|
string-replace.js | 195 // Test nested calls to replace, including that it sets RegExp.$& correctly. 198 assertEquals(m,RegExp['$&']); 199 return "[" + RegExp['$&'] + "-" 201 + m.replace(/./g,function() { return RegExp['$&']; }) 202 + "-" + RegExp['$&'] + "]"; 257 testIndices99(new RegExp(regexp99pattern)); 258 testIndices99(new RegExp(regexp99pattern, "g")); 274 testIndices59(new RegExp(regexp59pattern)); 275 testIndices59(new RegExp(regexp59pattern, "g"));
|
lazy-load.js | 32 // Check that regexp literals use original RegExp (non-ECMA-262). 33 RegExp = 42;
|
string-slices-regexp.js | 28 var foo = "lsdfj sldkfj sdklfj læsdfjl sdkfjlsdk fjsdl fjsdljskdj flsj flsdkj flskd regexp: /foobar/\nldkfj sdlkfj sdkl"; 30 assertTrue(/^([a-z]+): (.*)/.test(foo.substring(foo.indexOf("regexp:")))); 31 assertEquals("regexp", RegExp.$1, "RegExp.$1"); 35 var r = new RegExp(re)
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
dfa.h | 37 RegExp *rule; /* RuleOp */ 57 RegExp *rule; /* RuleOp */ 144 Action_new_Rule(State *s, RegExp *r) /* RuleOp */
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
regexp_adapter_re2.cc | 62 const RE2& regexp, 67 return regex_function(input, regexp, out1, out2, out3); 70 return regex_function(input, regexp, out1, out2); 73 return regex_function(input, regexp, out1); 75 return regex_function(input, regexp); 95 // Implementation of RegExp abstract class. 96 class RE2RegExp : public RegExp { 156 RegExp* RE2RegExpFactory::CreateRegExp(const string& utf8_regexp) const {
|
phonenumbermatcher.cc | 236 scoped_ptr<const RegExp> pub_pages_; 239 scoped_ptr<const RegExp> slash_separated_dates_; 242 scoped_ptr<const RegExp> time_stamps_; 243 scoped_ptr<const RegExp> time_stamps_suffix_; 247 scoped_ptr<const RegExp> matching_brackets_; 252 scoped_ptr<const RegExp> group_separator_; 253 scoped_ptr<const RegExp> capture_up_to_second_number_start_pattern_; 254 scoped_ptr<const RegExp> capturing_ascii_digits_pattern_; 256 scoped_ptr<const RegExp> lead_class_pattern_; 258 scoped_ptr<const RegExp> pattern_ [all...] |
/external/pcre/dist/ |
pcregexp.pas | 70 RegExp: shortstring; 467 RegExp:=ARegExp; 476 if length(RegExp) < 255 then 478 RegExp[length(RegExp)+1]:=#0; 479 pRegExp:=@RegExp[1]; 483 GetMem(pRegExp,length(RegExp)+1); 484 pRegExp:=strpcopy(pRegExp,RegExp); 489 if length(RegExp) = 255 then 708 // l1:=length(PpcRegExp(P1)^.RegExp); [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_filename_controller/ |
bg.js | 18 return (new RegExp(rule.match_param)).test(item.url); 20 return (new RegExp(rule.match_param)).test(item.filename);
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/ |
metadata_parser.js | 10 * @param {RegExp} urlFilter RegExp to match URLs.
|
/external/chromium_org/v8/test/preparser/ |
strict-octal-indirect-regexp.js | 28 // Strict mode with call to RegExp containing octal escape: 32 var re = RegExp("Hello\\040World");
|
/external/chromium_org/v8/test/webkit/fast/js/kde/ |
Array.js | 204 var backupRegExpToString = RegExp.prototype.toString; 205 var backupRegExpToLocaleString = RegExp.prototype.toLocaleString; 210 RegExp.prototype.toString = function() { return "toString2"; } 211 RegExp.prototype.toLocaleString = function() { return "toLocaleString2"; } 220 RegExp.prototype.toLocaleString = "invalid"; 234 RegExp.prototype.toString = backupRegExpToString; 235 RegExp.prototype.toLocaleString = backupRegExpToLocaleString;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/workspace/ |
SearchConfig.js | 20 /** @typedef {!{regex: !RegExp, isNegative: boolean}} */ 75 var regexp = new RegExp(pattern, "g"); 76 var queryParts = this._query.match(regexp) || []; 97 this._fileRegexQueries.push({ regex: new RegExp(fileQuery.text, this.ignoreCase ? "i" : ""), isNegative: fileQuery.isNegative });
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
FilterSuggestionBuilder.js | 67 var matcher = new RegExp("^" + prefix.escapeForRegExp(), "i"); 75 var matcher = new RegExp("^" + value.escapeForRegExp(), "i");
|