summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/literals/regexp/early-err-modifiers-other-code-point-non-display-1.js
blob: 102dee02bc6c6eb2fc6e41a61ffb0ea8b9ecc868 (plain)
ofshex dumpascii
0000 2f 2f 20 7c 72 65 66 74 65 73 74 7c 20 73 6b 69 70 20 65 72 72 6f 72 3a 53 79 6e 74 61 78 45 72 //.|reftest|.skip.error:SyntaxEr
0020 72 6f 72 20 2d 2d 20 72 65 67 65 78 70 2d 6d 6f 64 69 66 69 65 72 73 20 69 73 20 6e 6f 74 20 73 ror.--.regexp-modifiers.is.not.s
0040 75 70 70 6f 72 74 65 64 0a 2f 2f 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 32 34 20 49 upported.//.Copyright.(C).2024.I
0060 67 61 6c 69 61 2c 20 53 2e 4c 2e 20 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e galia,.S.L..All.rights.reserved.
0080 0a 2f 2f 20 54 68 69 73 20 63 6f 64 65 20 69 73 20 67 6f 76 65 72 6e 65 64 20 62 79 20 74 68 65 .//.This.code.is.governed.by.the
00a0 20 42 53 44 20 6c 69 63 65 6e 73 65 20 66 6f 75 6e 64 20 69 6e 20 74 68 65 20 4c 49 43 45 4e 53 .BSD.license.found.in.the.LICENS
00c0 45 20 66 69 6c 65 2e 0a 0a 2f 2a 2d 2d 2d 0a 64 65 73 63 72 69 70 74 69 6f 6e 3a 20 49 74 20 69 E.file.../*---.description:.It.i
00e0 73 20 61 20 53 79 6e 74 61 78 20 45 72 72 6f 72 20 69 66 20 74 68 65 20 73 6f 75 72 63 65 20 74 s.a.Syntax.Error.if.the.source.t
0100 65 78 74 20 6d 61 74 63 68 65 64 20 62 79 20 52 65 67 75 6c 61 72 45 78 70 72 65 73 73 69 6f 6e ext.matched.by.RegularExpression
0120 46 6c 61 67 73 20 63 6f 6e 74 61 69 6e 73 20 61 6e 79 20 63 6f 64 65 20 70 6f 69 6e 74 20 6f 74 Flags.contains.any.code.point.ot
0140 68 65 72 20 74 68 61 6e 20 69 2c 20 6d 2c 20 6f 72 20 73 2c 20 6f 72 20 69 66 20 69 74 20 63 6f her.than.i,.m,.or.s,.or.if.it.co
0160 6e 74 61 69 6e 73 20 74 68 65 20 73 61 6d 65 20 63 6f 64 65 20 70 6f 69 6e 74 20 6d 6f 72 65 20 ntains.the.same.code.point.more.
0180 74 68 61 6e 20 6f 6e 63 65 2e 20 28 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 66 than.once..(regular.expression.f
01a0 6c 61 67 73 29 0a 65 73 69 64 3a 20 73 65 63 2d 70 61 74 74 65 72 6e 73 2d 73 74 61 74 69 63 2d lags).esid:.sec-patterns-static-
01c0 73 65 6d 61 6e 74 69 63 73 2d 65 61 72 6c 79 2d 65 72 72 6f 72 73 0a 66 65 61 74 75 72 65 73 3a semantics-early-errors.features:
01e0 20 5b 72 65 67 65 78 70 2d 6d 6f 64 69 66 69 65 72 73 5d 0a 6e 65 67 61 74 69 76 65 3a 0a 20 20 .[regexp-modifiers].negative:...
0200 70 68 61 73 65 3a 20 70 61 72 73 65 0a 20 20 74 79 70 65 3a 20 53 79 6e 74 61 78 45 72 72 6f 72 phase:.parse...type:.SyntaxError
0220 0a 69 6e 66 6f 3a 20 7c 0a 20 20 20 20 41 74 6f 6d 20 3a 3a 20 28 20 3f 20 52 65 67 75 6c 61 72 .info:.|.....Atom.::.(.?.Regular
0240 45 78 70 72 65 73 69 73 6f 6e 46 6c 61 67 73 20 3a 20 44 69 73 6a 75 6e 63 74 69 6f 6e 20 29 0a ExpresisonFlags.:.Disjunction.).
0260 20 20 20 20 49 74 20 69 73 20 61 20 53 79 6e 74 61 78 20 45 72 72 6f 72 20 69 66 20 74 68 65 20 ....It.is.a.Syntax.Error.if.the.
0280 73 6f 75 72 63 65 20 74 65 78 74 20 6d 61 74 63 68 65 64 20 62 79 20 52 65 67 75 6c 61 72 45 78 source.text.matched.by.RegularEx
02a0 70 72 65 73 73 69 6f 6e 46 6c 61 67 73 20 63 6f 6e 74 61 69 6e 73 20 61 6e 79 20 63 6f 64 65 20 pressionFlags.contains.any.code.
02c0 70 6f 69 6e 74 73 20 6f 74 68 65 72 20 74 68 61 6e 20 22 69 22 2c 20 22 6d 22 2c 20 22 73 22 2c points.other.than."i",."m",."s",
02e0 20 6f 72 20 69 66 20 69 74 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 73 61 6d 65 20 63 6f 64 65 .or.if.it.contains.the.same.code
0300 20 70 6f 69 6e 74 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 63 65 2e 0a 0a 2d 2d 2d 2a 2f 0a 0a 24 .point.more.than.once...---*/..$
0320 44 4f 4e 4f 54 45 56 41 4c 55 41 54 45 28 29 3b 0a 0a 2f 28 3f 73 00 3a 61 29 2f 2f 2a 7b 20 67 DONOTEVALUATE();../(?s.:a)//*{.g
0340 6c 6f 62 61 6c 2d 6d 6f 64 69 66 69 65 72 73 20 7d 2a 2f 3b 0a lobal-modifiers.}*/;.