@@ -411,7 +411,7 @@ xit("line: 78 - lazy quantifiers are not supported", () => {});
411411xit ( "line: 79 - lazy quantifiers are not supported" , ( ) => { } ) ;
412412xit ( "line: 80 - lazy quantifiers are not supported" , ( ) => { } ) ;
413413xit ( "line: 81 - lazy quantifiers are not supported" , ( ) => { } ) ;
414- xit ( "line: 82 - test regex is not supported in JS" , ( ) => { } ) ;
414+ xit ( "line: 82 - test regex contains syntax not supported in JS" , ( ) => { } ) ;
415415it ( "line: 83 - matches ^[ab\\]cde] against 'athing'" , ( ) => {
416416 const match = exec ( "^[ab\\]cde]" , "athing" , "" ) ;
417417 expect ( match . matches [ 0 ] ) . toBe ( "athing" . substring ( 0 , 1 ) ) ;
@@ -674,13 +674,17 @@ it("line: 152 - matches ([\\da-f:]+)$ against 'abc'", () => {
674674 expect ( match . matches [ 0 ] ) . toBe ( "abc" . substring ( 0 , 3 ) ) ;
675675 expect ( match . matches [ 1 ] ) . toBe ( "abc" . substring ( 0 , 3 ) ) ;
676676} ) ;
677- xit ( "line: 153 - requires triage " , ( ) => { } ) ;
677+ xit ( "line: 153 - aspect [Actual]: <Match>null vs [Expected]: Not <Match>null issue " , ( ) => { } ) ;
678678it ( "line: 154 - matches ([\\da-f:]+)$ against 'E'" , ( ) => {
679679 const match = exec ( "([\\da-f:]+)$" , "E" , "i" ) ;
680680 expect ( match . matches [ 0 ] ) . toBe ( "E" . substring ( 0 , 1 ) ) ;
681681 expect ( match . matches [ 1 ] ) . toBe ( "E" . substring ( 0 , 1 ) ) ;
682682} ) ;
683- xit ( "line: 155 - requires triage" , ( ) => { } ) ;
683+ it ( "line: 155 - matches ([\\da-f:]+)$ against '::'" , ( ) => {
684+ const match = exec ( "([\\da-f:]+)$" , "::" , "i" ) ;
685+ expect ( match . matches [ 0 ] ) . toBe ( "::" . substring ( 0 , 2 ) ) ;
686+ expect ( match . matches [ 1 ] ) . toBe ( "::" . substring ( 0 , 2 ) ) ;
687+ } ) ;
684688it ( "line: 156 - matches ([\\da-f:]+)$ against '5f03:12C0::932e'" , ( ) => {
685689 const match = exec ( "([\\da-f:]+)$" , "5f03:12C0::932e" , "i" ) ;
686690 expect ( match . matches [ 0 ] ) . toBe ( "5f03:12C0::932e" . substring ( 0 , 15 ) ) ;
@@ -1070,8 +1074,32 @@ xit("line: 257 - non capturing groups not supported", () => {});
10701074xit ( "line: 258 - back references are not supported" , ( ) => { } ) ;
10711075xit ( "line: 259 - back references are not supported" , ( ) => { } ) ;
10721076xit ( "line: 260 - back references are not supported" , ( ) => { } ) ;
1073- xit ( "line: 261 - requires triage" , ( ) => { } ) ;
1074- xit ( "line: 262 - requires triage" , ( ) => { } ) ;
1077+ it ( "line: 261 - matches ^From +([^ ]+) +[a-zA-Z][a-zA-Z][a-zA-Z] +[a-zA-Z][a-zA-Z][a-zA-Z] +[0-9]?[0-9] +[0-9][0-9]:[0-9][0-9] against 'From abcd Mon Sep 01 12:33:02 1997'" , ( ) => {
1078+ const match = exec (
1079+ "^From +([^ ]+) +[a-zA-Z][a-zA-Z][a-zA-Z] +[a-zA-Z][a-zA-Z][a-zA-Z] +[0-9]?[0-9] +[0-9][0-9]:[0-9][0-9]" ,
1080+ "From abcd Mon Sep 01 12:33:02 1997" ,
1081+ ""
1082+ ) ;
1083+ expect ( match . matches [ 0 ] ) . toBe (
1084+ "From abcd Mon Sep 01 12:33:02 1997" . substring ( 0 , 27 )
1085+ ) ;
1086+ expect ( match . matches [ 1 ] ) . toBe (
1087+ "From abcd Mon Sep 01 12:33:02 1997" . substring ( 5 , 9 )
1088+ ) ;
1089+ } ) ;
1090+ it ( "line: 262 - matches ^From\\s+\\S+\\s+([a-zA-Z]{3}\\s+){2}\\d{1,2}\\s+\\d\\d:\\d\\d against 'From abcd Mon Sep 01 12:33:02 1997'" , ( ) => {
1091+ const match = exec (
1092+ "^From\\s+\\S+\\s+([a-zA-Z]{3}\\s+){2}\\d{1,2}\\s+\\d\\d:\\d\\d" ,
1093+ "From abcd Mon Sep 01 12:33:02 1997" ,
1094+ ""
1095+ ) ;
1096+ expect ( match . matches [ 0 ] ) . toBe (
1097+ "From abcd Mon Sep 01 12:33:02 1997" . substring ( 0 , 27 )
1098+ ) ;
1099+ expect ( match . matches [ 1 ] ) . toBe (
1100+ "From abcd Mon Sep 01 12:33:02 1997" . substring ( 15 , 19 )
1101+ ) ;
1102+ } ) ;
10751103xit ( "line: 263 - requires triage" , ( ) => { } ) ;
10761104xit ( "line: 264 - requires triage" , ( ) => { } ) ;
10771105xit ( "line: 265 - test cases with CRs not supported yet!" , ( ) => { } ) ;
@@ -1084,7 +1112,10 @@ xit("line: 271 - non capturing groups not supported", () => {});
10841112xit ( "line: 272 - non capturing groups not supported" , ( ) => { } ) ;
10851113xit ( "line: 273 - non capturing groups not supported" , ( ) => { } ) ;
10861114xit ( "line: 274 - non capturing groups not supported" , ( ) => { } ) ;
1087- xit ( "line: 281 - requires triage" , ( ) => { } ) ;
1115+ it ( "line: 281 - matches ^abcd#rhubarb against 'abcd'" , ( ) => {
1116+ const match = exec ( "^abcd#rhubarb" , "abcd" , "" ) ;
1117+ expect ( match . matches [ 0 ] ) . toBe ( "abcd" . substring ( 0 , 4 ) ) ;
1118+ } ) ;
10881119xit ( "line: 282 - back references are not supported" , ( ) => { } ) ;
10891120xit ( "line: 283 - back references are not supported" , ( ) => { } ) ;
10901121xit ( "line: 284 - back references are not supported" , ( ) => { } ) ;
@@ -1266,7 +1297,7 @@ it("line: 1154 - matches ^abc$ against 'abc'", () => {
12661297xit ( "line: 1155 - test cases with CRs not supported yet!" , ( ) => { } ) ;
12671298xit ( "line: 1156 - test cases with CRs not supported yet!" , ( ) => { } ) ;
12681299xit ( "line: 1157 - test cases with CRs not supported yet!" , ( ) => { } ) ;
1269- xit ( "line: 1158 - requires triage " , ( ) => { } ) ;
1300+ xit ( "line: 1158 - test regex contains syntax not supported in JS " , ( ) => { } ) ;
12701301xit ( "line: 1159 - test cases with CRs not supported yet!" , ( ) => { } ) ;
12711302xit ( "line: 1160 - test cases with CRs not supported yet!" , ( ) => { } ) ;
12721303xit ( "line: 1161 - test cases with CRs not supported yet!" , ( ) => { } ) ;
@@ -1378,15 +1409,13 @@ xit("line: 1228 - back references are not supported", () => {});
13781409xit ( "line: 1229 - back references are not supported" , ( ) => { } ) ;
13791410xit ( "line: 1230 - back references are not supported" , ( ) => { } ) ;
13801411xit ( "line: 1231 - test cases with CRs not supported yet!" , ( ) => { } ) ;
1381- xit ( "line: 1232 - requires triage" , ( ) => { } ) ;
1382- xit ( "line: 1233 - requires triage" , ( ) => { } ) ;
1383- xit ( "line: 1234 - requires triage" , ( ) => { } ) ;
1384- xit ( "line: 1235 - requires triage" , ( ) => { } ) ;
1385- it ( "line: 1236 - matches ^([^a])([^\\\b])([^c]*)([^d]{3,4}) against 'anything'" , ( ) => {
1386- expectNotMatch ( "^([^a])([^\\\b])([^c]*)([^d]{3,4})" , [ "anything" ] ) ;
1387- } ) ;
1388- xit ( "line: 1237 - requires triage" , ( ) => { } ) ;
1389- xit ( "line: 1238 - requires triage" , ( ) => { } ) ;
1412+ xit ( "line: 1232 - word boundary class not supported yet!" , ( ) => { } ) ;
1413+ xit ( "line: 1233 - word boundary class not supported yet!" , ( ) => { } ) ;
1414+ xit ( "line: 1234 - word boundary class not supported yet!" , ( ) => { } ) ;
1415+ xit ( "line: 1235 - word boundary class not supported yet!" , ( ) => { } ) ;
1416+ xit ( "line: 1236 - word boundary class not supported yet!" , ( ) => { } ) ;
1417+ xit ( "line: 1237 - word boundary class not supported yet!" , ( ) => { } ) ;
1418+ xit ( "line: 1238 - word boundary class not supported yet!" , ( ) => { } ) ;
13901419xit ( "line: 1239 - requires triage" , ( ) => { } ) ;
13911420it ( "line: 1240 - matches [^a] against 'Abc'" , ( ) => {
13921421 const match = exec ( "[^a]" , "Abc" , "" ) ;
@@ -1507,7 +1536,7 @@ xit("line: 1276 - non capturing groups not supported", () => {});
15071536xit ( "line: 1277 - non capturing groups not supported" , ( ) => { } ) ;
15081537xit ( "line: 1278 - non capturing groups not supported" , ( ) => { } ) ;
15091538xit ( "line: 1279 - non capturing groups not supported" , ( ) => { } ) ;
1510- xit ( "line: 1280 - requires triage " , ( ) => { } ) ;
1539+ xit ( "line: 1280 - word boundary class not supported yet! " , ( ) => { } ) ;
15111540it ( "line: 1281 - matches foo(.*)bar against 'The food is under the bar in the barn.'" , ( ) => {
15121541 const match = exec (
15131542 "foo(.*)bar" ,
@@ -1543,7 +1572,7 @@ it("line: 1287 - matches (.*)(\\d+)$ against 'I have 2 numbers: 53147'", () => {
15431572 expect ( match . matches [ 2 ] ) . toBe ( "I have 2 numbers: 53147" . substring ( 22 , 23 ) ) ;
15441573} ) ;
15451574xit ( "line: 1288 - lazy quantifiers are not supported" , ( ) => { } ) ;
1546- xit ( "line: 1289 - requires triage " , ( ) => { } ) ;
1575+ xit ( "line: 1289 - word boundary class not supported yet! " , ( ) => { } ) ;
15471576it ( "line: 1290 - matches (.*\\D)(\\d+)$ against 'I have 2 numbers: 53147'" , ( ) => {
15481577 const match = exec ( "(.*\\D)(\\d+)$" , "I have 2 numbers: 53147" , "" ) ;
15491578 expect ( match . matches [ 0 ] ) . toBe ( "I have 2 numbers: 53147" . substring ( 0 , 23 ) ) ;
@@ -1888,8 +1917,8 @@ it("line: 1406 - matches ab\\d{0}e against 'ab1e '", () => {
18881917xit ( "line: 1407 - test cases with quotes are not supported yet!" , ( ) => { } ) ;
18891918xit ( "line: 1408 - test cases with quotes are not supported yet!" , ( ) => { } ) ;
18901919xit ( "line: 1409 - lazy quantifiers are not supported" , ( ) => { } ) ;
1891- xit ( "line: 1410 - requires triage " , ( ) => { } ) ;
1892- xit ( "line: 1411 - test doesn't support NULL " , ( ) => { } ) ;
1920+ xit ( "line: 1410 - word boundary class not supported yet! " , ( ) => { } ) ;
1921+ xit ( "line: 1411 - word boundary class not supported yet! " , ( ) => { } ) ;
18931922xit ( "line: 1412 - requires triage" , ( ) => { } ) ;
18941923xit ( "line: 1413 - requires triage" , ( ) => { } ) ;
18951924it ( "line: 1414 - matches a[^a]b against 'acb'" , ( ) => {
0 commit comments