Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:re

34 var re = /^(((N({)?)|(R)|(U)|(V)|(B)|(H)|(n((n)|(r)|(v)|(h))?)|(r(r)?)|(v)|(b((n)|(b))?)|(h))|((Y)|(A)|(E)|(o(u)?)|(p(u)?)|(q(u)?)|(s)|(t)|(u)|(w)|(x(u)?)|(y)|(z)|(a((T)|(A)|(L))?)|(c)|(e)|(f(u)?)|(g(u)?)|(i)|(j)|(l)|(m(u)?)))+/;
35 var r = new RegExp(re)
40 var re = /x/;
41 assertEquals("a.yb", "_axyb_".slice(1,-1).replace(re, "."));
42 re.compile("y");
43 assertEquals("ax.b", "_axyb_".slice(1,-1).replace(re, "."));
44 re.compile("(x)");
45 assertEquals(["x", "x"], re.exec("_axyb_".slice(1,-1)));
46 re.compile("(y)");
47 assertEquals(["y", "y"], re.exec("_axyb_".slice(1,-1)));