Home | History | Annotate | Download | only in String

Lines Matching refs:strB

32 * str.replace(strA, strB) == str.replace(new RegExp(strA),strB).
51 var summ_OLD = 'Testing str.replace(strA, strB) == str.replace(new RegExp(strA),strB)';
60 var strB = 'Z';
73 * When this bug was filed, str.replace(strA, strB) would return no value
85 actual = str.replace(strA, strB);
86 expect = str.replace(new RegExp(strA), strB);
91 actual = str.replace(strA, strB);
92 expect = str.replace(new RegExp(strA), strB);
97 actual = str.replace(strA, strB);
98 expect = str.replace(new RegExp(strA), strB);
103 actual = str.replace(strA, strB);
104 expect = str.replace(new RegExp(strA), strB);
118 actual = strJim.replace(strA, strB); // bug -> 'aaZaa'
119 expect = strJim.replace(new RegExp(strA), strB); // expect 'aa$aaZ'
132 actual = str.replace(strA, strB);
138 actual = str.replace(strA, strB);
139 expect = str.replace(new RegExp(strA), strB);