blob: a35aba44f9d1838a69b454ffab33ec6736f0c82a [file] [log] [blame]
description(
"This test checks a few cases of extended (> 127) characters in repeat regular expressions."
);
shouldBe('"foo\\xa0\\xa0\\xa0".replace(/\\xa0*/, "")', '"foo\\xa0\\xa0\\xa0"');
shouldBe('"foo\\xa0\\xa0\\xa0".replace(/\\xa0+/, "")', '"foo"');
shouldBe('"foo\\xa0\\xa0\\xa0".replace(/\\xa0*$/, "")', '"foo"');