Home | History | Annotate | Download | only in String

Lines Matching refs:replace

29 * decision by deleting the provisions above and replace them with the notice
55 actual = 'XaXY'.replace('XY', '--')
60 actual = '$a$^'.replace('$^', '--')
65 actual = 'ababc'.replace('abc', '--')
70 actual = 'ababc'.replace('abc', '^$')
78 * to String.prototype.replace() instead of a string.
84 actual = 'XaXY'.replace(/XY/, '--')
89 actual = 'XaXY'.replace(/XY/g, '--')
94 actual = '$a$^'.replace(/\$\^/, '--')
99 actual = '$a$^'.replace(/\$\^/g, '--')
104 actual = 'ababc'.replace(/abc/, '--')
109 actual = 'ababc'.replace(/abc/g, '--')
114 actual = 'ababc'.replace(/abc/, '^$')
119 actual = 'ababc'.replace(/abc/g, '^$')