HomeSort by relevance Sort by last modified time
    Searched full:regexp (Results 1 - 25 of 1552) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/v8/test/webkit/fast/regex/
malformed-escapes.js 28 var regexp; variable
30 regexp = /\ug/gm;
31 debug("\nTesting regexp: " + regexp);
32 shouldBeTrue("regexp.test('ug')");
33 shouldBe("regexp.lastIndex", "2");
35 regexp = /\xg/gm;
36 debug("\nTesting regexp: " + regexp);
37 shouldBeTrue("regexp.test('xg')")
    [all...]
quantified-assertions.js 28 var regexp; variable
30 regexp = /(?=a){0}/gm;
31 debug("\nTesting regexp: " + regexp);
32 shouldBeTrue("regexp.test('a')");
33 shouldBe("regexp.lastIndex", "0");
35 regexp = /(?=a){1}/gm;
36 debug("\nTesting regexp: " + regexp);
37 shouldBeTrue("regexp.test('a')")
    [all...]
malformed-escapes-expected.txt 30 Testing regexp: /\ug/gm
31 PASS regexp.test('ug') is true
32 PASS regexp.lastIndex is 2
34 Testing regexp: /\xg/gm
35 PASS regexp.test('xg') is true
36 PASS regexp.lastIndex is 2
38 Testing regexp: /\c_/gm
39 PASS regexp.test('\\c_') is true
40 PASS regexp.lastIndex is 3
42 Testing regexp: /[\B]/g
    [all...]
  /external/v8/test/mjsunit/regress/
regress-3229.js 6 function testEscapes(expected, regexp) {
7 assertEquals(expected, regexp.source);
8 assertEquals("/" + expected + "/", regexp.toString());
13 testEscapes("\\/", new RegExp("/"));
14 testEscapes("\\/", new RegExp("\\/"));
15 testEscapes("\\\\/", new RegExp("\\\\/"));
16 testEscapes("\\/\\/", new RegExp("\\/\\/"));
17 testEscapes("\\/\\/\\/\\/", new RegExp("////"));
18 testEscapes("\\/\\/\\/\\/", new RegExp("\\//\\//"));
19 testEscapes("(?:)", new RegExp(""));
    [all...]
regress-crbug-467047.js 10 assertEquals("abcd", RegExp.input);
11 assertEquals("a", RegExp.leftContext);
12 assertEquals("bc", RegExp.lastMatch);
13 assertEquals("d", RegExp.rightContext);
  /external/v8/test/mjsunit/es6/
regexp-tolength.js 9 let regexp = /x/g;
11 regexp.lastIndex = -1;
13 assertTrue(regexp.test("axb"));
14 assertEquals(2, regexp.lastIndex);
16 regexp.lastIndex = -1;
18 assertEquals("x", regexp.exec("axb")[0]);
19 assertEquals(2, regexp.lastIndex);
regexp-constructor.js 5 // Flags: --harmony-regexp-subclass
14 var r = new RegExp("biep");
15 assertTrue(r === RegExp(r));
16 assertFalse(r === new RegExp(r));
20 assertFalse(r === RegExp(r));
24 class A extends RegExp {
30 var r2 = RegExp(r);
35 assertTrue(RegExp.prototype === r2.__proto__);
37 var r3 = RegExp(r);
61 var r = RegExp(match)
    [all...]
  /external/v8/test/mjsunit/
regexp-static.js 28 // Test the (deprecated as of JS 1.5) properties of the RegExp function.
34 assertEquals(s, RegExp.input);
35 assertEquals('123.456', RegExp.lastMatch);
36 assertEquals('456', RegExp.lastParen);
37 assertEquals('abc', RegExp.leftContext);
38 assertEquals('def', RegExp.rightContext);
40 assertEquals(s, RegExp['$_']);
41 assertEquals('123.456', RegExp['$&']);
42 assertEquals('456', RegExp['$+']);
43 assertEquals('abc', RegExp['$`'])
    [all...]
regexp-capture-3.js 30 assertEquals("abcd", RegExp.input);
31 assertEquals("a", RegExp.leftContext);
32 assertEquals("b", RegExp.lastMatch);
33 assertEquals("", RegExp.lastParen);
34 assertEquals(undefined, RegExp.lastIndex);
35 assertEquals(undefined, RegExp.index);
36 assertEquals("cd", RegExp.rightContext);
38 assertEquals("", RegExp['$' + i]);
46 assertEquals("abcdabcd", RegExp.input);
47 assertEquals("abcda", RegExp.leftContext)
    [all...]
  /external/libxml2/result/schemas/
regexp-char-ref_0_0 1 ./test/schemas/regexp-char-ref_0.xml validates
regexp-char-ref_1_0 1 ./test/schemas/regexp-char-ref_0.xml validates
  /external/regex-re2/re2/testing/
regexp_test.cc 10 #include "re2/regexp.h"
15 TEST(Regexp, BigRef) {
16 Regexp* re;
17 re = Regexp::Parse("x", Regexp::NoParseFlags, NULL);
28 TEST(Regexp, BigConcat) {
29 Regexp* x;
30 x = Regexp::Parse("x", Regexp::NoParseFlags, NULL);
31 vector<Regexp*> v(90000, x); // ToString bails out at 10000
    [all...]
required_prefix_test.cc 6 #include "re2/regexp.h"
11 const char* regexp; member in struct:re2::PrefixTest
19 // If the regexp is missing a ^, there's no required prefix.
24 // If the regexp immediately goes into
43 Regexp::ParseFlags flags = Regexp::LikePerl;
45 flags = flags | Regexp::Latin1;
46 Regexp* re = Regexp::Parse(t.regexp, flags, NULL)
    [all...]
  /external/libxml2/result/regexp/
ranges 0 Regexp: a{2,3}
6 Regexp: ba{2,3}c
11 Regexp: a(b|c){2,3}d
ncname 0 Regexp: [\i-[:]][\c-[:]]*
  /prebuilts/go/darwin-x86/pkg/darwin_amd64/index/
suffixarray.a 13 import regexp "regexp"
16 import syntax "regexp/syntax" // indirect
17 type @"regexp/syntax".InstOp uint8
18 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2]
    [all...]
  /prebuilts/go/linux-x86/pkg/linux_amd64/index/
suffixarray.a 13 import regexp "regexp"
16 import syntax "regexp/syntax" // indirect
17 type @"regexp/syntax".InstOp uint8
18 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2]
    [all...]
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/util/regex/
Matcher.java 19 import com.google.gwt.regexp.shared.RegExp;
20 import com.google.gwt.regexp.shared.MatchResult;
22 /** Emulation of the {@link Matcher} class, uses {@link RegExp} as internal implementation.
25 private final RegExp regExp;
30 this.regExp = pattern.regExp;
32 matchResult = regExp.exec(this.input);
36 return regExp.test(input);
    [all...]
Pattern.java 19 import com.google.gwt.regexp.shared.RegExp;
21 /** Emulation of the {@link Pattern} class, uses {@link RegExp} as internal implementation.
24 final RegExp regExp;
26 private Pattern (String regExp) {
27 this.regExp = RegExp.compile(regExp);
30 public static Pattern compile (String regExp) {
    [all...]
  /prebuilts/go/darwin-x86/pkg/darwin_amd64/cmd/pprof/internal/
symbolz.a 15 import regexp "regexp"
32 import syntax "regexp/syntax" // indirect
33 type @"regexp/syntax".InstOp uint8
34 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2]
    [all...]
fetch.a 34 import regexp "regexp" // indirect
35 import syntax "regexp/syntax" // indirect
36 type @"regexp/syntax".InstOp uint8
37 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2]
    [all...]
  /prebuilts/go/linux-x86/pkg/linux_amd64/cmd/pprof/internal/
symbolz.a 15 import regexp "regexp"
32 import syntax "regexp/syntax" // indirect
33 type @"regexp/syntax".InstOp uint8
34 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2]
    [all...]
fetch.a 34 import regexp "regexp" // indirect
35 import syntax "regexp/syntax" // indirect
36 type @"regexp/syntax".InstOp uint8
37 func (@"regexp/syntax".i·2 @"regexp/syntax".InstOp) String () (? string) { if uint(@"regexp/syntax".i·2) >= uint(len(@"regexp/syntax".instOpNames)) { return "" }; return @"regexp/syntax".instOpNames[@"regexp/syntax".i·2]
    [all...]
  /external/v8/test/mjsunit/harmony/
unicode-escapes-in-regexps.js 24 testRegexpHelper(new RegExp("(\\u0066|\\u0062)oo"));
25 testRegexpHelper(new RegExp("(\\u0066|\\u0062)oo", "u"));
26 testRegexpHelper(new RegExp("(\\u{0066}|\\u{0062})oo", "u"));
27 testRegexpHelper(new RegExp("(\\u{66}|\\u{000062})oo", "u"));
30 testRegexpHelper(new RegExp("(\u0066|\u0062)oo"));
31 testRegexpHelper(new RegExp("(\u0066|\u0062)oo", "u"));
32 testRegexpHelper(new RegExp("(\u{0066}|\u{0062})oo", "u"));
33 testRegexpHelper(new RegExp("(\u{66}|\u{000062})oo", "u"));
45 testRegexpHelper(new RegExp("[\\u0062-\\u0066]oo"));
46 testRegexpHelper(new RegExp("[\\u0062-\\u0066]oo", "u"))
    [all...]
  /external/regex-re2/re2/
simplify.cc 10 #include "re2/regexp.h"
15 // Parses the regexp src and then simplifies it and sets *dst to the
18 bool Regexp::SimplifyRegexp(const StringPiece& src, ParseFlags flags,
21 Regexp* re = Parse(src, flags, status);
24 Regexp* sre = re->Simplify();
41 // is this Regexp* simple?
42 bool Regexp::ComputeSimple() {
43 Regexp** subs;
102 // The child_args are simplified Regexp*s.
103 class SimplifyWalker : public Regexp::Walker<Regexp*>
    [all...]

Completed in 3625 milliseconds

1 2 3 4 5 6 7 8 91011>>