Index: test/mjsunit/harmony/regexp-property-special.js |
diff --git a/test/mjsunit/harmony/regexp-property-special.js b/test/mjsunit/harmony/regexp-property-special.js |
index 204b77fb231750b5c6bb72dafe07a79360ea1e5e..c36ff51c5b59a98d8a5bd6233e6f9a271eb0c2c5 100644 |
--- a/test/mjsunit/harmony/regexp-property-special.js |
+++ b/test/mjsunit/harmony/regexp-property-special.js |
@@ -44,8 +44,16 @@ t(/\P{Assigned}+/u, "\ufdd0"); |
t(/\P{Assigned}+/u, "\u{fffff}"); |
f(/\P{Assigned}/u, ""); |
-t(/[^\P{Assigned}]+/u, "123"); |
-f(/[\P{Assigned}]+/u, "🄰🄱🄲"); |
-f(/[^\P{Assigned}]+/u, "\ufdd0"); |
-t(/[\P{Assigned}]+/u, "\u{fffff}"); |
-f(/[\P{Assigned}]/u, ""); |
+f(/[^\u1234\p{ASCII}]+/u, "\u1234"); |
+t(/[x\P{ASCII}]+/u, "x"); |
+t(/[\u1234\p{ASCII}]+/u, "\u1234"); |
+ |
+t(/^\p{Other_ID_Start}+$/u, "\u1885\u1886\u2118\u212e\u309b\u309c"); |
+f(/\P{OIDS}/u, "\u1885\u1886\u2118\u212e\u309b\u309c"); |
+f(/^[x\P{Other_ID_Start}]+$/u, "\u1885\u1886\u2118\u212e\u309b\u309cx"); |
+f(/[x\P{OIDS}]/u, "\u1885\u1886\u2118\u212e\u309b\u309c"); |
+ |
+var other_id_continue = "\u00b7\u0387\u1369\u136a\u136b\u136c" + |
+ "\u136d\u136e\u136f\u1370\u1371\u19da"; |
+t(/^\p{Other_ID_Continue}+$/u, other_id_continue); |
+f(/\P{OIDC}/u, other_id_continue); |