Lines Matching refs:flag
113 var flag = ignore_case ? "i" : ""; variable
114 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(greek.first), 19);
115 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(greek.middle), 20);
116 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(greek.last), 21);
118 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(cyrillic.FIRST), 22);
119 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(cyrillic.MIDDLE), 23);
120 assertTrue(Range(greek.first, cyrillic.LAST, flag).test(cyrillic.LAST), 24);
124 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(greek.FIRST), 25);
125 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(greek.MIDDLE), 26);
126 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(greek.LAST), 27);
128 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(cyrillic.first), 28);
129 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(cyrillic.middle), 29);
130 assertEquals(ignore_case, Range(greek.first, cyrillic.LAST, flag).test(cyrillic.last), 30);
188 var flag = ignore_case ? "i" : "";
189 var re = new RegExp(mixed, flag);
192 assertEquals(expected, re.test("A" + suffix), 58 + flag + f);
193 assertTrue(re.test("a" + suffix), 59 + flag + f);
194 assertTrue(re.test("~" + suffix), 60 + flag + f);
195 assertTrue(re.test(cyrillic.MIDDLE), 61 + flag + f);
196 assertEquals(ignore_case || full, re.test(cyrillic.middle), 62 + flag + f);