/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
ScriptRegexp.cpp | 45 unsigned flags = v8::RegExp::kNone; 47 flags |= v8::RegExp::kIgnoreCase; 49 flags |= v8::RegExp::kMultiline; 52 v8::Local<v8::RegExp> regex = v8::RegExp::New(v8String(context->GetIsolate(), pattern), static_cast<v8::RegExp::Flags>(flags)); 79 v8::Local<v8::RegExp> regex = m_regex.newLocal(isolate); 85 // RegExp#exec returns null if there's no match, otherwise it returns an 90 // https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/RegExp/exec
|
/external/chromium_org/third_party/WebKit/Source/web/tests/data/ |
specify_size.html | 9 var searchParser = new RegExp('\\?' + unitMatch + '(?:\\:' + unitMatch + ')');
|
/external/chromium_org/third_party/re2/re2/testing/ |
tester.cc | 12 #include "re2/regexp.h" 14 DEFINE_bool(dump_prog, false, "dump regexp program"); 16 DEFINE_bool(dump_rprog, false, "dump reversed regexp program"); 19 "maximum number of regexp test failures (-1 = unlimited)"); 21 DEFINE_string(regexp_engines, "", "pattern to select regexp engines to test"); 135 Regexp::ParseFlags parse_flags; 139 static const Regexp::ParseFlags single_line = 140 Regexp::LikePerl; 141 static const Regexp::ParseFlags multi_line = 142 static_cast<Regexp::ParseFlags>(Regexp::LikePerl & ~Regexp::OneLine) [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-regexp-construct-result.js | 28 // Create a huge regexp with many alternative capture groups, most of 38 var regexp = new RegExp(regexp_string); 41 var matches = regexp.exec("a");
|
/external/chromium_org/v8/test/preparser/ |
preparser.expectation | 8 strict-octal-regexp:strict_octal_literal
|
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/ |
regexp-compile-expected.txt | 24 Test RegExp.compile method. 40 PASS re.compile(new RegExp('c'), 'i'); threw exception TypeError: Cannot supply flags when constructing one RegExp from another. 42 PASS re.compile(new RegExp('+')); threw exception SyntaxError: Invalid regular expression: /+/: Nothing to repeat.
|
/external/regex-re2/re2/testing/ |
tester.cc | 12 #include "re2/regexp.h" 14 DEFINE_bool(dump_prog, false, "dump regexp program"); 16 DEFINE_bool(dump_rprog, false, "dump reversed regexp program"); 19 "maximum number of regexp test failures (-1 = unlimited)"); 21 DEFINE_string(regexp_engines, "", "pattern to select regexp engines to test"); 135 Regexp::ParseFlags parse_flags; 139 static const Regexp::ParseFlags single_line = 140 Regexp::LikePerl; 141 static const Regexp::ParseFlags multi_line = 142 static_cast<Regexp::ParseFlags>(Regexp::LikePerl & ~Regexp::OneLine) [all...] |
/external/v8/test/preparser/ |
preparser.expectation | 8 strict-octal-regexp:strict_octal_literal
|
strict-octal-indirect-regexp.js | 28 // Strict mode with call to RegExp containing octal escape: 32 var re = RegExp("Hello\\040World");
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
Makefile.am | 6 sed_SOURCES = sed.c compile.c execute.c regexp.c fmt.c mbcs.c utils.c
|
/external/chromium_org/v8/src/ |
string.js | 178 function StringMatch(regexp) { 184 if (IS_REGEXP(regexp)) { 185 // Emulate RegExp.prototype.exec's side effect in step 5, even though 187 var lastIndex = regexp.lastIndex; 189 if (!regexp.global) return RegExpExecNoTests(regexp, subject, 0); 190 %_Log('regexp', 'regexp-match,%0S,%1r', [subject, regexp]); 191 // lastMatchInfo is defined in regexp.js [all...] |
/external/llvm/lib/Transforms/Utils/ |
SpecialCaseList.cpp | 78 // Get our prefix and unparsed regexp. 87 std::string Regexp = SplitRegexp.first; 102 // See if we can store Regexp in Strings. 103 if (Regex::isLiteralERE(Regexp)) { 104 Entries[Prefix][Category].Strings.insert(Regexp); 109 for (size_t pos = 0; (pos = Regexp.find("*", pos)) != std::string::npos; 111 Regexp.replace(pos, strlen("*"), ".*"); 114 // Check that the regexp is valid. 115 Regex CheckRE(Regexp); 122 // Add this regexp into the proper group by its prefix [all...] |
/external/chromium_org/v8/test/mjsunit/ |
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...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_filename_controller/ |
options.html | 17 <option value=url-regex>URL RegExp</option> 19 <option value=default-regex>Default Filename RegExp</option>
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/ |
UNCOVERED | 37 RegExp.exec 38 RegExp custom properties
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
regexp_adapter.h | 18 // RegExp adapter to allow a pluggable regexp engine. It has been introduced 37 // Consume() method of RegExp which may differ depending on its various 50 class RegExp { 52 virtual ~RegExp() {} 151 // implementing RegExp and RegExpInput. 160 // Creates a new instance of RegExp. The deletion of the returned instance is 162 virtual RegExp* CreateRegExp(const string& utf8_regexp) const = 0;
|
regexp_factory.h | 20 // This file selects the right implementation of the abstract regexp factory at 22 // The default abstract regexp factory implementation can be obtained using the
|
/external/chromium_org/third_party/re2/doc/ |
mksyntaxgo | 4 out=$GOROOT/src/pkg/regexp/syntax/doc.go 27 facilities of package regexp (such as Compile and Match) instead of this package.
|
/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)
|
/external/libvpx/libvpx/examples/ |
gen_example_doxy.php | 45 $regexp = '/\[\[(.*?)\]\]/'; // Double square bracket delimiters variable 46 $page_body = preg_replace_callback($regexp, 'ASCIIMathPHPCallback', $page_body); 60 $regexp = '|<pre><code>(.*?)<\/code><\/pre>|si'; variable 61 while (preg_match($regexp, $page_body, $matches) > 0) 64 $page_body = preg_replace($regexp, $tmp_token, $page_body, 1); 73 $regexp = '|<div class="codeblock">(.*?)<\/div>|si'; variable 76 while (preg_match($regexp, $page_body, $matches)) 85 $page_body = preg_replace($regexp, $block_new, $page_body, 1);
|
/external/nist-sip/java/gov/nist/core/ |
Match.java | 42 * picking a specific regexp package to avoid code dependencies. 43 * Use a package such as the jakarta regexp package to implement this.
|
/external/regex-re2/doc/ |
mksyntaxgo | 4 out=$GOROOT/src/pkg/regexp/syntax/doc.go 27 facilities of package regexp (such as Compile and Match) instead of this package.
|
/external/v8/src/ |
string.js | 182 function StringMatch(regexp) { 188 if (IS_REGEXP(regexp)) { 189 if (!regexp.global) return RegExpExecNoTests(regexp, subject, 0); 190 %_Log('regexp', 'regexp-match,%0S,%1r', [subject, regexp]); 191 // lastMatchInfo is defined in regexp.js. 192 return %StringMatch(subject, regexp, lastMatchInfo); 194 // Non-regexp argument [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
mksqlite3h.tcl | 56 if {[regexp {^D (2[-0-9T:]+)} $line all date]} { 85 if {[regexp {define SQLITE_EXTERN extern} $line]} { 95 if {([regexp $varpattern $line] && ![regexp {^ *typedef} $line]) 96 || ([regexp $declpattern $line])
|