@@ -9,36 +9,43 @@ const range = (from, to) =>
99 Array . from ( { length : to - from + 1 } , ( _ , i ) => i + from ) ;
1010
1111const knownIssues = {
12- "issue with parsing the test itself" : [
13- 1103 ,
14- ...range ( 1185 , 1188 ) ,
15- ...range ( 1095 , 1098 ) ,
16- ...range ( 487 , 494 ) ,
17- ...range ( 1077 , 1082 ) ,
18- ] ,
12+ /* ------- features not yet implemented ------- */
1913 "does not support start of string quantified within an alternation" : [
2014 1363 ,
2115 1369 ,
2216 ] ,
2317 "does not support hex notification in character sets" : [ ...range ( 1147 , 1149 ) ] ,
18+ "does nto support escaped characters in character ranges" : [
19+ ...range ( 1301 , 1308 ) ,
20+ ] ,
2421 "lazy quantifiers should still yield the longest overall regex match" : [
2522 ...range ( 141 , 143 ) ,
2623 1288 ,
2724 ] ,
25+
26+ /* -------- issues with the tests ------------ */
27+ "test appears to be incorrect?" : [ 203 , 204 ] ,
28+ "issue with parsing the test itself" : [
29+ 1103 ,
30+ ...range ( 1185 , 1188 ) ,
31+ ...range ( 1095 , 1098 ) ,
32+ ...range ( 487 , 494 ) ,
33+ ...range ( 1077 , 1082 ) ,
34+ ] ,
2835 "test contains an octal escape sequence" : [ 1102 ] ,
2936 // the test results measure captured groups using character length / locations
3037 // see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length
3138 // this is tricky to reproduce
3239 "test requires a substring function" : [ 1087 , 1088 ] ,
33- "requires triage" : [ ...range ( 1301 , 1308 ) ] ,
40+
41+ /* -------- differences between PCRE and JS regex ------------ */
3442 "test indicates a malformed regex, whereas it appears OK in JS" : [ 1189 ] ,
3543 "JS does not support the \\A \\Z syntax for start and end of string" : [
3644 1163 ,
3745 1164 ,
3846 ] ,
3947 "test regex contains syntax not supported in JS" : [ 82 , 1158 , 281 ] ,
4048 "the test behaviour differs between PCRE and JS" : [ 290 ] ,
41- "test appears to be incorrect?" : [ 203 , 204 ] ,
4249} ;
4350
4451const hasKnownIssue = ( index ) => {
0 commit comments