projects
/
profile
/
ivi
/
webkit-efl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tizen beta release
[profile/ivi/webkit-efl.git]
/
LayoutTests
/
fast
/
js
/
script-tests
/
string_replace.js
1
description(
2
"This will test string.replace with {n, m} regexp patterns."
3
);
4
5
shouldBe('"YY".replace(/Y{1,4}/g,"YYYY")', '"YYYY"');
6
shouldBe('"MM".replace(/M{1,2}/g,"M")', '"M"');
7
shouldBe('"YY".replace(/Y{1,4}/g,"MMMM")', '"MMMM"');