Lines Matching full:shouldbe
29 shouldBe('/[a-c]+/.exec("-acbd");', '["acb"]');
30 shouldBe('/[a\\-c]+/.exec("-acbd")', '["-ac"]');
36 shouldBe('/[\\d-x]+/.exec("1-3xy");', '["1-3x"]');
37 shouldBe('/[x-\\d]+/.exec("1-3xy");', '["1-3x"]');
38 shouldBe('/[\\d-\\d]+/.exec("1-3xy");', '["1-3"]');
42 shouldBe('/[\\d-a-z]+/.exec("az1-3y");', '["az1-3"]');
45 shouldBe('/[\\d\\-x]+/.exec("1-3xy");', '["1-3x"]');
46 shouldBe('/[x\\-\\d]+/.exec("1-3xy");', '["1-3x"]');
47 shouldBe('/[\\d\\-\\d]+/.exec("1-3xy");', '["1-3"]');
50 shouldBe('/[\\d-]+/.exec("1-3xy")', '["1-3"]');