Home | History | Annotate | Download | only in js

Lines Matching full:regexp

14 var GlobalRegExp = global.RegExp;
172 // Non-regexp argument.
173 var regexp = new GlobalRegExp(pattern);
174 return RegExpExecNoTests(regexp, subject, 0);
203 // the needle is a string rather than a regexp. In this case we can't update
205 // RegExp object.
216 // .. regexp search
237 // Non-global regexp search, string replace.
252 // Global regexp search, string replace.
259 // Global regexp search, function replace.
262 // Non-global regexp search, function replace.
402 function StringReplaceGlobalRegExpWithFunction(subject, regexp, replace) {
413 var res = %RegExpExecMultiple(regexp,
417 regexp.lastIndex = 0;
426 // the regexp, just the implicit capture that captures the whole match. In
454 // Use the apply argument as backing for global RegExp properties.
469 function StringReplaceNonGlobalRegExpWithFunction(subject, regexp, replace) {
470 var matchInfo = RegExpExec(regexp, subject, 0);
472 regexp.lastIndex = 0;
518 var regexp = new GlobalRegExp(pattern);
519 return %_Call(regexp[searchSymbol], regexp, subject);