diff --git a/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/apple-clang-14-c++2b/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/apple-clang-15-c++2b/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/clang-12-c++20/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/clang-12-c++20/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/clang-12-c++20/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/clang-12-c++20/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/clang-12-c++20/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/clang-12-c++20/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/clang-12-c++20/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/clang-12-c++20/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/clang-12-c++20/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/clang-12-c++20/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/clang-12-c++20/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/clang-12-c++20/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/clang-12-c++20/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/clang-12-c++20/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/clang-12-c++20/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/clang-12-c++20/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/clang-15-c++20-libcpp/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/clang-15-c++20/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/clang-15-c++20/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/clang-15-c++20/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/clang-15-c++20/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/clang-15-c++20/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/clang-15-c++20/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/clang-15-c++20/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/clang-15-c++20/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/clang-15-c++20/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/clang-15-c++20/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/clang-15-c++20/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/clang-15-c++20/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/clang-15-c++20/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/clang-15-c++20/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/clang-15-c++20/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/clang-15-c++20/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/clang-18-c++20/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/clang-18-c++20/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/clang-18-c++20/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/clang-18-c++20/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/clang-18-c++20/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/clang-18-c++20/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/clang-18-c++20/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/clang-18-c++20/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/clang-18-c++20/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/clang-18-c++20/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/clang-18-c++20/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/clang-18-c++20/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/clang-18-c++20/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/clang-18-c++20/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/clang-18-c++20/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/clang-18-c++20/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/clang-18-c++23-libcpp/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/gcc-10-c++20/pure2-default-arguments.cpp.output b/regression-tests/test-results/gcc-10-c++20/pure2-default-arguments.cpp.output index 78fc177ba..fe5138e49 100644 --- a/regression-tests/test-results/gcc-10-c++20/pure2-default-arguments.cpp.output +++ b/regression-tests/test-results/gcc-10-c++20/pure2-default-arguments.cpp.output @@ -1,66 +1,66 @@ In file included from pure2-default-arguments.cpp:7: ../../../include/cpp2util.h:2086:28: error: local variable ‘obj’ may not appear in this context - 2086 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<17>(x)), T >) { if (x.index() == 17) return operator_as<17>(x); } + 2086 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<12>(x)), T >) { if (x.index() == 12) return operator_as<12>(x); } | ^~~ ../../../include/cpp2util.h:2047:34: note: in definition of macro ‘CPP2_UFCS_IDENTITY’ - 2047 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as< 3>(x)), T >) { if (x.index() == 3) return operator_as<3>(x); } - | ^~~~~~~~~~~ + 2047 | template + | ^~~ ../../../include/cpp2util.h:2086:15: note: in expansion of macro ‘CPP2_FORWARD’ - 2086 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<17>(x)), T >) { if (x.index() == 17) return operator_as<17>(x); } + 2086 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<12>(x)), T >) { if (x.index() == 12) return operator_as<12>(x); } | ^~~~~~~~~~~~ ../../../include/cpp2util.h:2107:22: note: in expansion of macro ‘CPP2_UFCS_CONSTRAINT_ARG’ - 2107 | { return !x.has_value(); } - | ^~~~~~~~~ + 2107 | { return x.type() == Typeid(); } + | ^~~~~~~~~~~~~~~~~~ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ pure2-default-arguments.cpp2:6:22: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ ../../../include/cpp2util.h:2086:92: error: local variable ‘params’ may not appear in this context - 2086 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<17>(x)), T >) { if (x.index() == 17) return operator_as<17>(x); } + 2086 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<12>(x)), T >) { if (x.index() == 12) return operator_as<12>(x); } | ^~~~~~ ../../../include/cpp2util.h:2047:34: note: in definition of macro ‘CPP2_UFCS_IDENTITY’ - 2047 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as< 3>(x)), T >) { if (x.index() == 3) return operator_as<3>(x); } - | ^~~~~~~~~~~ + 2047 | template + | ^~~ ../../../include/cpp2util.h:2086:79: note: in expansion of macro ‘CPP2_FORWARD’ - 2086 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<17>(x)), T >) { if (x.index() == 17) return operator_as<17>(x); } + 2086 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<12>(x)), T >) { if (x.index() == 12) return operator_as<12>(x); } | ^~~~~~~~~~~~ ../../../include/cpp2util.h:2107:22: note: in expansion of macro ‘CPP2_UFCS_CONSTRAINT_ARG’ - 2107 | { return !x.has_value(); } - | ^~~~~~~~~ + 2107 | { return x.type() == Typeid(); } + | ^~~~~~~~~~~~~~~~~~ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ pure2-default-arguments.cpp2:6:22: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ ../../../include/cpp2util.h:2087:74: error: local variable ‘obj’ may not appear in this context - 2087 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<18>(x)), T >) { if (x.index() == 18) return operator_as<18>(x); } + 2087 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<13>(x)), T >) { if (x.index() == 13) return operator_as<13>(x); } | ^~~ ../../../include/cpp2util.h:2047:34: note: in definition of macro ‘CPP2_UFCS_IDENTITY’ - 2047 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as< 3>(x)), T >) { if (x.index() == 3) return operator_as<3>(x); } - | ^~~~~~~~~~~ + 2047 | template + | ^~~ ../../../include/cpp2util.h:2087:61: note: in expansion of macro ‘CPP2_FORWARD’ - 2087 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<18>(x)), T >) { if (x.index() == 18) return operator_as<18>(x); } + 2087 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<13>(x)), T >) { if (x.index() == 13) return operator_as<13>(x); } | ^~~~~~~~~~~~ ../../../include/cpp2util.h:2107:22: note: in expansion of macro ‘CPP2_UFCS_CONSTRAINT_ARG’ - 2107 | { return !x.has_value(); } - | ^~~~~~~~~ + 2107 | { return x.type() == Typeid(); } + | ^~~~~~~~~~~~~~~~~~ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ pure2-default-arguments.cpp2:6:22: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ ../../../include/cpp2util.h:2087:93: error: local variable ‘params’ may not appear in this context - 2087 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<18>(x)), T >) { if (x.index() == 18) return operator_as<18>(x); } + 2087 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<13>(x)), T >) { if (x.index() == 13) return operator_as<13>(x); } | ^~~~~~ ../../../include/cpp2util.h:2047:34: note: in definition of macro ‘CPP2_UFCS_IDENTITY’ - 2047 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as< 3>(x)), T >) { if (x.index() == 3) return operator_as<3>(x); } - | ^~~~~~~~~~~ + 2047 | template + | ^~~ ../../../include/cpp2util.h:2087:80: note: in expansion of macro ‘CPP2_FORWARD’ - 2087 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<18>(x)), T >) { if (x.index() == 18) return operator_as<18>(x); } + 2087 | if constexpr (std::is_same_v< CPP2_TYPEOF(operator_as<13>(x)), T >) { if (x.index() == 13) return operator_as<13>(x); } | ^~~~~~~~~~~~ ../../../include/cpp2util.h:2107:22: note: in expansion of macro ‘CPP2_UFCS_CONSTRAINT_ARG’ - 2107 | { return !x.has_value(); } - | ^~~~~~~~~ + 2107 | { return x.type() == Typeid(); } + | ^~~~~~~~~~~~~~~~~~ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ pure2-default-arguments.cpp2:6:22: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ pure2-default-arguments.cpp2:6:61: error: ‘std::source_location’ has not been declared diff --git a/regression-tests/test-results/gcc-10-c++20/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/gcc-10-c++20/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/gcc-10-c++20/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/gcc-10-c++20/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/gcc-10-c++20/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/gcc-10-c++20/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/gcc-10-c++20/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/gcc-10-c++20/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/gcc-10-c++20/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/gcc-10-c++20/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/gcc-10-c++20/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/gcc-10-c++20/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/gcc-10-c++20/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/gcc-10-c++20/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/gcc-10-c++20/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/gcc-10-c++20/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/gcc-13-c++2b/mixed-bounds-safety-with-assert.cpp.execution b/regression-tests/test-results/gcc-13-c++2b/mixed-bounds-safety-with-assert.cpp.execution index 56d396403..8c61e02f7 100644 --- a/regression-tests/test-results/gcc-13-c++2b/mixed-bounds-safety-with-assert.cpp.execution +++ b/regression-tests/test-results/gcc-13-c++2b/mixed-bounds-safety-with-assert.cpp.execution @@ -1 +1 @@ -mixed-bounds-safety-with-assert.cpp2(11) void print_subrange(const auto:243&, cpp2::impl::in, cpp2::impl::in) [with auto:243 = std::vector; cpp2::impl::in = const int]: Bounds safety violation +mixed-bounds-safety-with-assert.cpp2(11) void print_subrange(const auto:97&, cpp2::impl::in, cpp2::impl::in) [with auto:97 = std::vector; cpp2::impl::in = const int]: Bounds safety violation diff --git a/regression-tests/test-results/gcc-13-c++2b/mixed-bugfix-for-ufcs-non-local.cpp.output b/regression-tests/test-results/gcc-13-c++2b/mixed-bugfix-for-ufcs-non-local.cpp.output index 4b53cb8e1..73e75d315 100644 --- a/regression-tests/test-results/gcc-13-c++2b/mixed-bugfix-for-ufcs-non-local.cpp.output +++ b/regression-tests/test-results/gcc-13-c++2b/mixed-bugfix-for-ufcs-non-local.cpp.output @@ -1,41 +1,41 @@ In file included from mixed-bugfix-for-ufcs-non-local.cpp:6: ../../../include/cpp2util.h:2100:1: error: lambda-expression in template parameter type - 2100 | requires (std::is_same_v && !std::is_same_v && !std::is_same_v) + 2100 | // | ^ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ mixed-bugfix-for-ufcs-non-local.cpp2:13:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ mixed-bugfix-for-ufcs-non-local.cpp2:13:36: error: template argument 1 is invalid ../../../include/cpp2util.h:2100:1: error: lambda-expression in template parameter type - 2100 | requires (std::is_same_v && !std::is_same_v && !std::is_same_v) + 2100 | // | ^ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ mixed-bugfix-for-ufcs-non-local.cpp2:21:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ mixed-bugfix-for-ufcs-non-local.cpp2:21:36: error: template argument 1 is invalid ../../../include/cpp2util.h:2100:1: error: lambda-expression in template parameter type - 2100 | requires (std::is_same_v && !std::is_same_v && !std::is_same_v) + 2100 | // | ^ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ mixed-bugfix-for-ufcs-non-local.cpp2:31:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ mixed-bugfix-for-ufcs-non-local.cpp2:31:36: error: template argument 1 is invalid ../../../include/cpp2util.h:2100:1: error: lambda-expression in template parameter type - 2100 | requires (std::is_same_v && !std::is_same_v && !std::is_same_v) + 2100 | // | ^ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ mixed-bugfix-for-ufcs-non-local.cpp2:33:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ mixed-bugfix-for-ufcs-non-local.cpp2:33:36: error: template argument 1 is invalid ../../../include/cpp2util.h:2100:1: error: lambda-expression in template parameter type - 2100 | requires (std::is_same_v && !std::is_same_v && !std::is_same_v) + 2100 | // | ^ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ mixed-bugfix-for-ufcs-non-local.cpp2:21:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ mixed-bugfix-for-ufcs-non-local.cpp2:21:36: error: template argument 1 is invalid diff --git a/regression-tests/test-results/gcc-14-c++2b/mixed-bugfix-for-ufcs-non-local.cpp.output b/regression-tests/test-results/gcc-14-c++2b/mixed-bugfix-for-ufcs-non-local.cpp.output index 4b53cb8e1..73e75d315 100644 --- a/regression-tests/test-results/gcc-14-c++2b/mixed-bugfix-for-ufcs-non-local.cpp.output +++ b/regression-tests/test-results/gcc-14-c++2b/mixed-bugfix-for-ufcs-non-local.cpp.output @@ -1,41 +1,41 @@ In file included from mixed-bugfix-for-ufcs-non-local.cpp:6: ../../../include/cpp2util.h:2100:1: error: lambda-expression in template parameter type - 2100 | requires (std::is_same_v && !std::is_same_v && !std::is_same_v) + 2100 | // | ^ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ mixed-bugfix-for-ufcs-non-local.cpp2:13:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ mixed-bugfix-for-ufcs-non-local.cpp2:13:36: error: template argument 1 is invalid ../../../include/cpp2util.h:2100:1: error: lambda-expression in template parameter type - 2100 | requires (std::is_same_v && !std::is_same_v && !std::is_same_v) + 2100 | // | ^ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ mixed-bugfix-for-ufcs-non-local.cpp2:21:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ mixed-bugfix-for-ufcs-non-local.cpp2:21:36: error: template argument 1 is invalid ../../../include/cpp2util.h:2100:1: error: lambda-expression in template parameter type - 2100 | requires (std::is_same_v && !std::is_same_v && !std::is_same_v) + 2100 | // | ^ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ mixed-bugfix-for-ufcs-non-local.cpp2:31:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ mixed-bugfix-for-ufcs-non-local.cpp2:31:36: error: template argument 1 is invalid ../../../include/cpp2util.h:2100:1: error: lambda-expression in template parameter type - 2100 | requires (std::is_same_v && !std::is_same_v && !std::is_same_v) + 2100 | // | ^ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ mixed-bugfix-for-ufcs-non-local.cpp2:33:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ mixed-bugfix-for-ufcs-non-local.cpp2:33:36: error: template argument 1 is invalid ../../../include/cpp2util.h:2100:1: error: lambda-expression in template parameter type - 2100 | requires (std::is_same_v && !std::is_same_v && !std::is_same_v) + 2100 | // | ^ ../../../include/cpp2util.h:2137:59: note: in expansion of macro ‘CPP2_UFCS_’ - 2137 | { return std::any_cast( x ); } + 2137 | // as | ^ mixed-bugfix-for-ufcs-non-local.cpp2:21:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’ mixed-bugfix-for-ufcs-non-local.cpp2:21:36: error: template argument 1 is invalid diff --git a/regression-tests/test-results/gcc-14-c++2b/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/gcc-14-c++2b/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/gcc-14-c++2b/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/gcc-14-c++2b/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/gcc-14-c++2b/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/gcc-14-c++2b/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/gcc-14-c++2b/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/gcc-14-c++2b/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/gcc-14-c++2b/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/gcc-14-c++2b/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/gcc-14-c++2b/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/gcc-14-c++2b/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/gcc-14-c++2b/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/gcc-14-c++2b/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/gcc-14-c++2b/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/gcc-14-c++2b/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/msvc-2022-c++20/pure2-assert-expected-not-null.cpp.output b/regression-tests/test-results/msvc-2022-c++20/pure2-assert-expected-not-null.cpp.output index e43c7c890..dc395b672 100644 --- a/regression-tests/test-results/msvc-2022-c++20/pure2-assert-expected-not-null.cpp.output +++ b/regression-tests/test-results/msvc-2022-c++20/pure2-assert-expected-not-null.cpp.output @@ -6,7 +6,7 @@ pure2-assert-expected-not-null.cpp2(7): error C2143: syntax error: missing ';' b pure2-assert-expected-not-null.cpp2(7): error C2143: syntax error: missing ';' before '}' pure2-assert-expected-not-null.cpp2(9): error C2065: 'ex': undeclared identifier pure2-assert-expected-not-null.cpp2(9): error C2672: 'cpp2::impl::assert_not_null': no matching overloaded function found -D:\a\cppfront\cppfront\include\cpp2util.h(861): note: could be 'decltype(auto) cpp2::impl::assert_not_null(_T0 &&,std::source_location)' +..\..\..\include\cpp2util.h(861): note: could be 'decltype(auto) cpp2::impl::assert_not_null(_T0 &&,std::source_location)' pure2-assert-expected-not-null.cpp2(14): error C2039: 'expected': is not a member of 'std' predefined C++ types (compiler internal)(347): note: see declaration of 'std' pure2-assert-expected-not-null.cpp2(14): error C2062: type 'int' unexpected @@ -19,4 +19,4 @@ pure2-assert-expected-not-null.cpp2(14): note: while trying to match the argumen pure2-assert-expected-not-null.cpp2(14): error C2143: syntax error: missing ';' before '}' pure2-assert-expected-not-null.cpp2(15): error C2065: 'ex': undeclared identifier pure2-assert-expected-not-null.cpp2(15): error C2672: 'cpp2::impl::assert_not_null': no matching overloaded function found -D:\a\cppfront\cppfront\include\cpp2util.h(861): note: could be 'decltype(auto) cpp2::impl::assert_not_null(_T0 &&,std::source_location)' +..\..\..\include\cpp2util.h(861): note: could be 'decltype(auto) cpp2::impl::assert_not_null(_T0 &&,std::source_location)' diff --git a/regression-tests/test-results/msvc-2022-c++20/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/msvc-2022-c++20/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/msvc-2022-c++20/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/msvc-2022-c++20/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/msvc-2022-c++20/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/msvc-2022-c++20/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/msvc-2022-c++20/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/msvc-2022-c++20/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/msvc-2022-c++20/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/msvc-2022-c++20/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/msvc-2022-c++20/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/msvc-2022-c++20/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/msvc-2022-c++20/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/msvc-2022-c++20/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/msvc-2022-c++20/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/msvc-2022-c++20/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_10_escapes.cpp.execution b/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_10_escapes.cpp.execution index fe6e6efc9..7f23465cb 100644 --- a/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_10_escapes.cpp.execution +++ b/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_10_escapes.cpp.execution @@ -3,36 +3,19 @@ Running tests_10_escapes: 02_y: OK regex: a\(*b parsed_regex: a\(*b str: ab result_expr: $& expected_results ab 03_y: OK regex: a\(*b parsed_regex: a\(*b str: a((b result_expr: $& expected_results a((b 04_y: OK regex: a\\b parsed_regex: a\\b str: a\b result_expr: $& expected_results a\b -05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo bar result_expr: $1 expected_results -06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo bar result_expr: $1-$2 expected_results foo- -07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo bar result_expr: $1-$2 expected_results -b -08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo bar result_expr: $1 expected_results -09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo bar result_expr: $1-$2 expected_results o- -10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo bar result_expr: $1-$2 expected_results -b -11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo - - -bar result_expr: $1 expected_results - - - -12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo - - -bar result_expr: $1-$2 expected_results foo- -13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo - - -bar result_expr: $1-$2 expected_results - - --b -14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo bar result_expr: $1 expected_results -15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo bar result_expr: $1-$2 expected_results o- -16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo bar result_expr: $1-$2 expected_results -b -17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo - bar result_expr: $& expected_results foo - bar +05_y: OK regex: foo(\h+)bar parsed_regex: foo(\h+)bar str: foo\tbar result_expr: $1 expected_results \t +06_y: OK regex: (\H+)(\h) parsed_regex: (\H+)(\h) str: foo\tbar result_expr: $1-$2 expected_results foo-\t +07_y: OK regex: (\h+)(\H) parsed_regex: (\h+)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +08_y: OK regex: foo(\h)bar parsed_regex: foo(\h)bar str: foo\tbar result_expr: $1 expected_results \t +09_y: OK regex: (\H)(\h) parsed_regex: (\H)(\h) str: foo\tbar result_expr: $1-$2 expected_results o-\t +10_y: OK regex: (\h)(\H) parsed_regex: (\h)(\H) str: foo\tbar result_expr: $1-$2 expected_results \t-b +11_y: OK regex: foo(\v+)bar parsed_regex: foo(\v+)bar str: foo\r\n\r\n\nbar result_expr: $1 expected_results \r\n\r\n\n +12_y: OK regex: (\V+)(\v) parsed_regex: (\V+)(\v) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results foo-\r +13_y: OK regex: (\v+)(\V) parsed_regex: (\v+)(\V) str: foo\r\n\r\n\nbar result_expr: $1-$2 expected_results \r\n\r\n\n-b +14_y: OK regex: foo(\v)bar parsed_regex: foo(\v)bar str: foo\rbar result_expr: $1 expected_results \r +15_y: OK regex: (\V)(\v) parsed_regex: (\V)(\v) str: foo\rbar result_expr: $1-$2 expected_results o-\r +16_y: OK regex: (\v)(\V) parsed_regex: (\v)(\V) str: foo\rbar result_expr: $1-$2 expected_results \r-b +17_y: OK regex: foo\t\n\r\f\a\ebar parsed_regex: foo\t\n\r\f\a\ebar str: foo\t\n\r\f\a\ebar result_expr: $& expected_results foo\t\n\r\f\a\ebar 18_y: OK regex: foo\Kbar parsed_regex: foo\Kbar str: foobar result_expr: $& expected_results bar 19_y: OK regex: \x41\x42 parsed_regex: \x41\x42 str: AB result_expr: $& expected_results AB 20_y: OK regex: \101\o{102} parsed_regex: \101\o{102} str: AB result_expr: $& expected_results AB diff --git a/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_14_multiline_modifier.cpp.execution b/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_14_multiline_modifier.cpp.execution index 9a12081ac..f75692392 100644 --- a/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_14_multiline_modifier.cpp.execution +++ b/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_14_multiline_modifier.cpp.execution @@ -1,533 +1,201 @@ Running tests_14_multiline_modifier: -01_y: OK regex: \Z parsed_regex: \Z str: a -b - result_expr: $-[0] expected_results 3 -02_y: OK regex: \z parsed_regex: \z str: a -b - result_expr: $-[0] expected_results 4 -03_y: OK regex: $ parsed_regex: $ str: a -b - result_expr: $-[0] expected_results 3 -04_y: OK regex: \Z parsed_regex: \Z str: b -a - result_expr: $-[0] expected_results 3 -05_y: OK regex: \z parsed_regex: \z str: b -a - result_expr: $-[0] expected_results 4 -06_y: OK regex: $ parsed_regex: $ str: b -a - result_expr: $-[0] expected_results 3 -07_y: OK regex: \Z parsed_regex: \Z str: b -a result_expr: $-[0] expected_results 3 -08_y: OK regex: \z parsed_regex: \z str: b -a result_expr: $-[0] expected_results 3 -09_y: OK regex: $ parsed_regex: $ str: b -a result_expr: $-[0] expected_results 3 -10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a -b - result_expr: $-[0] expected_results 3 -11_y: OK regex: '\z'm parsed_regex: '\z'm str: a -b - result_expr: $-[0] expected_results 4 -12_y: OK regex: '$'m parsed_regex: '$'m str: a -b - result_expr: $-[0] expected_results 1 -13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a - result_expr: $-[0] expected_results 3 -14_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a - result_expr: $-[0] expected_results 4 -15_y: OK regex: '$'m parsed_regex: '$'m str: b -a - result_expr: $-[0] expected_results 1 -16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b -a result_expr: $-[0] expected_results 3 -17_y: OK regex: '\z'm parsed_regex: '\z'm str: b -a result_expr: $-[0] expected_results 3 -18_y: OK regex: '$'m parsed_regex: '$'m str: b -a result_expr: $-[0] expected_results 1 -19_n: OK regex: a\Z parsed_regex: a\Z str: a -b - result_expr: - expected_results - -20_n: OK regex: a\z parsed_regex: a\z str: a -b - result_expr: - expected_results - -21_n: OK regex: a$ parsed_regex: a$ str: a -b - result_expr: - expected_results - -22_y: OK regex: a\Z parsed_regex: a\Z str: b -a - result_expr: $-[0] expected_results 2 -23_n: OK regex: a\z parsed_regex: a\z str: b -a - result_expr: - expected_results - -24_y: OK regex: a$ parsed_regex: a$ str: b -a - result_expr: $-[0] expected_results 2 -25_y: OK regex: a\Z parsed_regex: a\Z str: b -a result_expr: $-[0] expected_results 2 -26_y: OK regex: a\z parsed_regex: a\z str: b -a result_expr: $-[0] expected_results 2 -27_y: OK regex: a$ parsed_regex: a$ str: b -a result_expr: $-[0] expected_results 2 -28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a -b - result_expr: - expected_results - -29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a -b - result_expr: - expected_results - -30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a -b - result_expr: $-[0] expected_results 0 -31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a - result_expr: $-[0] expected_results 2 -32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a - result_expr: - expected_results - -33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a - result_expr: $-[0] expected_results 2 -34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b -a result_expr: $-[0] expected_results 2 -35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b -a result_expr: $-[0] expected_results 2 -36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b -a result_expr: $-[0] expected_results 2 -37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa -b - result_expr: - expected_results - -38_n: OK regex: aa\z parsed_regex: aa\z str: aa -b - result_expr: - expected_results - -39_n: OK regex: aa$ parsed_regex: aa$ str: aa -b - result_expr: - expected_results - -40_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa - result_expr: $-[0] expected_results 2 -41_n: OK regex: aa\z parsed_regex: aa\z str: b -aa - result_expr: - expected_results - -42_y: OK regex: aa$ parsed_regex: aa$ str: b -aa - result_expr: $-[0] expected_results 2 -43_y: OK regex: aa\Z parsed_regex: aa\Z str: b -aa result_expr: $-[0] expected_results 2 -44_y: OK regex: aa\z parsed_regex: aa\z str: b -aa result_expr: $-[0] expected_results 2 -45_y: OK regex: aa$ parsed_regex: aa$ str: b -aa result_expr: $-[0] expected_results 2 -46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa -b - result_expr: - expected_results - -47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa -b - result_expr: - expected_results - -48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa -b - result_expr: $-[0] expected_results 0 -49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa - result_expr: $-[0] expected_results 2 -50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa - result_expr: - expected_results - -51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa - result_expr: $-[0] expected_results 2 -52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -aa result_expr: $-[0] expected_results 2 -53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -aa result_expr: $-[0] expected_results 2 -54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -aa result_expr: $-[0] expected_results 2 -55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac -b - result_expr: - expected_results - -56_n: OK regex: aa\z parsed_regex: aa\z str: ac -b - result_expr: - expected_results - -57_n: OK regex: aa$ parsed_regex: aa$ str: ac -b - result_expr: - expected_results - -58_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac - result_expr: - expected_results - -59_n: OK regex: aa\z parsed_regex: aa\z str: b -ac - result_expr: - expected_results - -60_n: OK regex: aa$ parsed_regex: aa$ str: b -ac - result_expr: - expected_results - -61_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ac result_expr: - expected_results - -62_n: OK regex: aa\z parsed_regex: aa\z str: b -ac result_expr: - expected_results - -63_n: OK regex: aa$ parsed_regex: aa$ str: b -ac result_expr: - expected_results - -64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac -b - result_expr: - expected_results - -65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac -b - result_expr: - expected_results - -66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac -b - result_expr: - expected_results - -67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac - result_expr: - expected_results - -68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac - result_expr: - expected_results - -69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac - result_expr: - expected_results - -70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ac result_expr: - expected_results - -71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ac result_expr: - expected_results - -72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ac result_expr: - expected_results - -73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca -b - result_expr: - expected_results - -74_n: OK regex: aa\z parsed_regex: aa\z str: ca -b - result_expr: - expected_results - -75_n: OK regex: aa$ parsed_regex: aa$ str: ca -b - result_expr: - expected_results - -76_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca - result_expr: - expected_results - -77_n: OK regex: aa\z parsed_regex: aa\z str: b -ca - result_expr: - expected_results - -78_n: OK regex: aa$ parsed_regex: aa$ str: b -ca - result_expr: - expected_results - -79_n: OK regex: aa\Z parsed_regex: aa\Z str: b -ca result_expr: - expected_results - -80_n: OK regex: aa\z parsed_regex: aa\z str: b -ca result_expr: - expected_results - -81_n: OK regex: aa$ parsed_regex: aa$ str: b -ca result_expr: - expected_results - -82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca -b - result_expr: - expected_results - -83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca -b - result_expr: - expected_results - -84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca -b - result_expr: - expected_results - -85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca - result_expr: - expected_results - -86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca - result_expr: - expected_results - -87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca - result_expr: - expected_results - -88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b -ca result_expr: - expected_results - -89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b -ca result_expr: - expected_results - -90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b -ca result_expr: - expected_results - -91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab -b - result_expr: - expected_results - -92_n: OK regex: ab\z parsed_regex: ab\z str: ab -b - result_expr: - expected_results - -93_n: OK regex: ab$ parsed_regex: ab$ str: ab -b - result_expr: - expected_results - -94_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab - result_expr: $-[0] expected_results 2 -95_n: OK regex: ab\z parsed_regex: ab\z str: b -ab - result_expr: - expected_results - -96_y: OK regex: ab$ parsed_regex: ab$ str: b -ab - result_expr: $-[0] expected_results 2 -97_y: OK regex: ab\Z parsed_regex: ab\Z str: b -ab result_expr: $-[0] expected_results 2 -98_y: OK regex: ab\z parsed_regex: ab\z str: b -ab result_expr: $-[0] expected_results 2 -99_y: OK regex: ab$ parsed_regex: ab$ str: b -ab result_expr: $-[0] expected_results 2 -100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab -b - result_expr: - expected_results - -101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab -b - result_expr: - expected_results - -102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab -b - result_expr: $-[0] expected_results 0 -103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab - result_expr: $-[0] expected_results 2 -104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab - result_expr: - expected_results - -105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab - result_expr: $-[0] expected_results 2 -106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ab result_expr: $-[0] expected_results 2 -107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ab result_expr: $-[0] expected_results 2 -108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ab result_expr: $-[0] expected_results 2 -109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac -b - result_expr: - expected_results - -110_n: OK regex: ab\z parsed_regex: ab\z str: ac -b - result_expr: - expected_results - -111_n: OK regex: ab$ parsed_regex: ab$ str: ac -b - result_expr: - expected_results - -112_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac - result_expr: - expected_results - -113_n: OK regex: ab\z parsed_regex: ab\z str: b -ac - result_expr: - expected_results - -114_n: OK regex: ab$ parsed_regex: ab$ str: b -ac - result_expr: - expected_results - -115_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ac result_expr: - expected_results - -116_n: OK regex: ab\z parsed_regex: ab\z str: b -ac result_expr: - expected_results - -117_n: OK regex: ab$ parsed_regex: ab$ str: b -ac result_expr: - expected_results - -118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac -b - result_expr: - expected_results - -119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac -b - result_expr: - expected_results - -120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac -b - result_expr: - expected_results - -121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac - result_expr: - expected_results - -122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac - result_expr: - expected_results - -123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac - result_expr: - expected_results - -124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ac result_expr: - expected_results - -125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ac result_expr: - expected_results - -126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ac result_expr: - expected_results - -127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca -b - result_expr: - expected_results - -128_n: OK regex: ab\z parsed_regex: ab\z str: ca -b - result_expr: - expected_results - -129_n: OK regex: ab$ parsed_regex: ab$ str: ca -b - result_expr: - expected_results - -130_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca - result_expr: - expected_results - -131_n: OK regex: ab\z parsed_regex: ab\z str: b -ca - result_expr: - expected_results - -132_n: OK regex: ab$ parsed_regex: ab$ str: b -ca - result_expr: - expected_results - -133_n: OK regex: ab\Z parsed_regex: ab\Z str: b -ca result_expr: - expected_results - -134_n: OK regex: ab\z parsed_regex: ab\z str: b -ca result_expr: - expected_results - -135_n: OK regex: ab$ parsed_regex: ab$ str: b -ca result_expr: - expected_results - -136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca -b - result_expr: - expected_results - -137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca -b - result_expr: - expected_results - -138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca -b - result_expr: - expected_results - -139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca - result_expr: - expected_results - -140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca - result_expr: - expected_results - -141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca - result_expr: - expected_results - -142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b -ca result_expr: - expected_results - -143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b -ca result_expr: - expected_results - -144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b -ca result_expr: - expected_results - -145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb -b - result_expr: - expected_results - -146_n: OK regex: abb\z parsed_regex: abb\z str: abb -b - result_expr: - expected_results - -147_n: OK regex: abb$ parsed_regex: abb$ str: abb -b - result_expr: - expected_results - -148_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb - result_expr: $-[0] expected_results 2 -149_n: OK regex: abb\z parsed_regex: abb\z str: b -abb - result_expr: - expected_results - -150_y: OK regex: abb$ parsed_regex: abb$ str: b -abb - result_expr: $-[0] expected_results 2 -151_y: OK regex: abb\Z parsed_regex: abb\Z str: b -abb result_expr: $-[0] expected_results 2 -152_y: OK regex: abb\z parsed_regex: abb\z str: b -abb result_expr: $-[0] expected_results 2 -153_y: OK regex: abb$ parsed_regex: abb$ str: b -abb result_expr: $-[0] expected_results 2 -154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb -b - result_expr: - expected_results - -155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb -b - result_expr: - expected_results - -156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb -b - result_expr: $-[0] expected_results 0 -157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb - result_expr: $-[0] expected_results 2 -158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb - result_expr: - expected_results - -159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb - result_expr: $-[0] expected_results 2 -160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -abb result_expr: $-[0] expected_results 2 -161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -abb result_expr: $-[0] expected_results 2 -162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -abb result_expr: $-[0] expected_results 2 -163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac -b - result_expr: - expected_results - -164_n: OK regex: abb\z parsed_regex: abb\z str: ac -b - result_expr: - expected_results - -165_n: OK regex: abb$ parsed_regex: abb$ str: ac -b - result_expr: - expected_results - -166_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac - result_expr: - expected_results - -167_n: OK regex: abb\z parsed_regex: abb\z str: b -ac - result_expr: - expected_results - -168_n: OK regex: abb$ parsed_regex: abb$ str: b -ac - result_expr: - expected_results - -169_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ac result_expr: - expected_results - -170_n: OK regex: abb\z parsed_regex: abb\z str: b -ac result_expr: - expected_results - -171_n: OK regex: abb$ parsed_regex: abb$ str: b -ac result_expr: - expected_results - -172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac -b - result_expr: - expected_results - -173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac -b - result_expr: - expected_results - -174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac -b - result_expr: - expected_results - -175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac - result_expr: - expected_results - -176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac - result_expr: - expected_results - -177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac - result_expr: - expected_results - -178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ac result_expr: - expected_results - -179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ac result_expr: - expected_results - -180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ac result_expr: - expected_results - -181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca -b - result_expr: - expected_results - -182_n: OK regex: abb\z parsed_regex: abb\z str: ca -b - result_expr: - expected_results - -183_n: OK regex: abb$ parsed_regex: abb$ str: ca -b - result_expr: - expected_results - -184_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca - result_expr: - expected_results - -185_n: OK regex: abb\z parsed_regex: abb\z str: b -ca - result_expr: - expected_results - -186_n: OK regex: abb$ parsed_regex: abb$ str: b -ca - result_expr: - expected_results - -187_n: OK regex: abb\Z parsed_regex: abb\Z str: b -ca result_expr: - expected_results - -188_n: OK regex: abb\z parsed_regex: abb\z str: b -ca result_expr: - expected_results - -189_n: OK regex: abb$ parsed_regex: abb$ str: b -ca result_expr: - expected_results - -190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca -b - result_expr: - expected_results - -191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca -b - result_expr: - expected_results - -192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca -b - result_expr: - expected_results - -193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca - result_expr: - expected_results - -194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca - result_expr: - expected_results - -195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca - result_expr: - expected_results - -196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b -ca result_expr: - expected_results - -197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b -ca result_expr: - expected_results - -198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b -ca result_expr: - expected_results - -199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a - - result_expr: $& expected_results a +01_y: OK regex: \Z parsed_regex: \Z str: a\nb\n result_expr: $-[0] expected_results 3 +02_y: OK regex: \z parsed_regex: \z str: a\nb\n result_expr: $-[0] expected_results 4 +03_y: OK regex: $ parsed_regex: $ str: a\nb\n result_expr: $-[0] expected_results 3 +04_y: OK regex: \Z parsed_regex: \Z str: b\na\n result_expr: $-[0] expected_results 3 +05_y: OK regex: \z parsed_regex: \z str: b\na\n result_expr: $-[0] expected_results 4 +06_y: OK regex: $ parsed_regex: $ str: b\na\n result_expr: $-[0] expected_results 3 +07_y: OK regex: \Z parsed_regex: \Z str: b\na result_expr: $-[0] expected_results 3 +08_y: OK regex: \z parsed_regex: \z str: b\na result_expr: $-[0] expected_results 3 +09_y: OK regex: $ parsed_regex: $ str: b\na result_expr: $-[0] expected_results 3 +10_y: OK regex: '\Z'm parsed_regex: '\Z'm str: a\nb\n result_expr: $-[0] expected_results 3 +11_y: OK regex: '\z'm parsed_regex: '\z'm str: a\nb\n result_expr: $-[0] expected_results 4 +12_y: OK regex: '$'m parsed_regex: '$'m str: a\nb\n result_expr: $-[0] expected_results 1 +13_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na\n result_expr: $-[0] expected_results 3 +14_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na\n result_expr: $-[0] expected_results 4 +15_y: OK regex: '$'m parsed_regex: '$'m str: b\na\n result_expr: $-[0] expected_results 1 +16_y: OK regex: '\Z'm parsed_regex: '\Z'm str: b\na result_expr: $-[0] expected_results 3 +17_y: OK regex: '\z'm parsed_regex: '\z'm str: b\na result_expr: $-[0] expected_results 3 +18_y: OK regex: '$'m parsed_regex: '$'m str: b\na result_expr: $-[0] expected_results 1 +19_n: OK regex: a\Z parsed_regex: a\Z str: a\nb\n result_expr: - expected_results - +20_n: OK regex: a\z parsed_regex: a\z str: a\nb\n result_expr: - expected_results - +21_n: OK regex: a$ parsed_regex: a$ str: a\nb\n result_expr: - expected_results - +22_y: OK regex: a\Z parsed_regex: a\Z str: b\na\n result_expr: $-[0] expected_results 2 +23_n: OK regex: a\z parsed_regex: a\z str: b\na\n result_expr: - expected_results - +24_y: OK regex: a$ parsed_regex: a$ str: b\na\n result_expr: $-[0] expected_results 2 +25_y: OK regex: a\Z parsed_regex: a\Z str: b\na result_expr: $-[0] expected_results 2 +26_y: OK regex: a\z parsed_regex: a\z str: b\na result_expr: $-[0] expected_results 2 +27_y: OK regex: a$ parsed_regex: a$ str: b\na result_expr: $-[0] expected_results 2 +28_n: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: a\nb\n result_expr: - expected_results - +29_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: a\nb\n result_expr: - expected_results - +30_y: OK regex: 'a$'m parsed_regex: 'a$'m str: a\nb\n result_expr: $-[0] expected_results 0 +31_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na\n result_expr: $-[0] expected_results 2 +32_n: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na\n result_expr: - expected_results - +33_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na\n result_expr: $-[0] expected_results 2 +34_y: OK regex: 'a\Z'm parsed_regex: 'a\Z'm str: b\na result_expr: $-[0] expected_results 2 +35_y: OK regex: 'a\z'm parsed_regex: 'a\z'm str: b\na result_expr: $-[0] expected_results 2 +36_y: OK regex: 'a$'m parsed_regex: 'a$'m str: b\na result_expr: $-[0] expected_results 2 +37_n: OK regex: aa\Z parsed_regex: aa\Z str: aa\nb\n result_expr: - expected_results - +38_n: OK regex: aa\z parsed_regex: aa\z str: aa\nb\n result_expr: - expected_results - +39_n: OK regex: aa$ parsed_regex: aa$ str: aa\nb\n result_expr: - expected_results - +40_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa\n result_expr: $-[0] expected_results 2 +41_n: OK regex: aa\z parsed_regex: aa\z str: b\naa\n result_expr: - expected_results - +42_y: OK regex: aa$ parsed_regex: aa$ str: b\naa\n result_expr: $-[0] expected_results 2 +43_y: OK regex: aa\Z parsed_regex: aa\Z str: b\naa result_expr: $-[0] expected_results 2 +44_y: OK regex: aa\z parsed_regex: aa\z str: b\naa result_expr: $-[0] expected_results 2 +45_y: OK regex: aa$ parsed_regex: aa$ str: b\naa result_expr: $-[0] expected_results 2 +46_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: aa\nb\n result_expr: - expected_results - +47_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: aa\nb\n result_expr: - expected_results - +48_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: aa\nb\n result_expr: $-[0] expected_results 0 +49_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa\n result_expr: $-[0] expected_results 2 +50_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa\n result_expr: - expected_results - +51_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa\n result_expr: $-[0] expected_results 2 +52_y: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\naa result_expr: $-[0] expected_results 2 +53_y: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\naa result_expr: $-[0] expected_results 2 +54_y: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\naa result_expr: $-[0] expected_results 2 +55_n: OK regex: aa\Z parsed_regex: aa\Z str: ac\nb\n result_expr: - expected_results - +56_n: OK regex: aa\z parsed_regex: aa\z str: ac\nb\n result_expr: - expected_results - +57_n: OK regex: aa$ parsed_regex: aa$ str: ac\nb\n result_expr: - expected_results - +58_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac\n result_expr: - expected_results - +59_n: OK regex: aa\z parsed_regex: aa\z str: b\nac\n result_expr: - expected_results - +60_n: OK regex: aa$ parsed_regex: aa$ str: b\nac\n result_expr: - expected_results - +61_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nac result_expr: - expected_results - +62_n: OK regex: aa\z parsed_regex: aa\z str: b\nac result_expr: - expected_results - +63_n: OK regex: aa$ parsed_regex: aa$ str: b\nac result_expr: - expected_results - +64_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ac\nb\n result_expr: - expected_results - +65_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ac\nb\n result_expr: - expected_results - +66_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ac\nb\n result_expr: - expected_results - +67_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac\n result_expr: - expected_results - +68_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac\n result_expr: - expected_results - +69_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac\n result_expr: - expected_results - +70_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nac result_expr: - expected_results - +71_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nac result_expr: - expected_results - +72_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nac result_expr: - expected_results - +73_n: OK regex: aa\Z parsed_regex: aa\Z str: ca\nb\n result_expr: - expected_results - +74_n: OK regex: aa\z parsed_regex: aa\z str: ca\nb\n result_expr: - expected_results - +75_n: OK regex: aa$ parsed_regex: aa$ str: ca\nb\n result_expr: - expected_results - +76_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca\n result_expr: - expected_results - +77_n: OK regex: aa\z parsed_regex: aa\z str: b\nca\n result_expr: - expected_results - +78_n: OK regex: aa$ parsed_regex: aa$ str: b\nca\n result_expr: - expected_results - +79_n: OK regex: aa\Z parsed_regex: aa\Z str: b\nca result_expr: - expected_results - +80_n: OK regex: aa\z parsed_regex: aa\z str: b\nca result_expr: - expected_results - +81_n: OK regex: aa$ parsed_regex: aa$ str: b\nca result_expr: - expected_results - +82_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: ca\nb\n result_expr: - expected_results - +83_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: ca\nb\n result_expr: - expected_results - +84_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: ca\nb\n result_expr: - expected_results - +85_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca\n result_expr: - expected_results - +86_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca\n result_expr: - expected_results - +87_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca\n result_expr: - expected_results - +88_n: OK regex: 'aa\Z'm parsed_regex: 'aa\Z'm str: b\nca result_expr: - expected_results - +89_n: OK regex: 'aa\z'm parsed_regex: 'aa\z'm str: b\nca result_expr: - expected_results - +90_n: OK regex: 'aa$'m parsed_regex: 'aa$'m str: b\nca result_expr: - expected_results - +91_n: OK regex: ab\Z parsed_regex: ab\Z str: ab\nb\n result_expr: - expected_results - +92_n: OK regex: ab\z parsed_regex: ab\z str: ab\nb\n result_expr: - expected_results - +93_n: OK regex: ab$ parsed_regex: ab$ str: ab\nb\n result_expr: - expected_results - +94_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab\n result_expr: $-[0] expected_results 2 +95_n: OK regex: ab\z parsed_regex: ab\z str: b\nab\n result_expr: - expected_results - +96_y: OK regex: ab$ parsed_regex: ab$ str: b\nab\n result_expr: $-[0] expected_results 2 +97_y: OK regex: ab\Z parsed_regex: ab\Z str: b\nab result_expr: $-[0] expected_results 2 +98_y: OK regex: ab\z parsed_regex: ab\z str: b\nab result_expr: $-[0] expected_results 2 +99_y: OK regex: ab$ parsed_regex: ab$ str: b\nab result_expr: $-[0] expected_results 2 +100_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ab\nb\n result_expr: - expected_results - +101_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ab\nb\n result_expr: - expected_results - +102_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ab\nb\n result_expr: $-[0] expected_results 0 +103_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab\n result_expr: $-[0] expected_results 2 +104_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab\n result_expr: - expected_results - +105_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab\n result_expr: $-[0] expected_results 2 +106_y: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nab result_expr: $-[0] expected_results 2 +107_y: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nab result_expr: $-[0] expected_results 2 +108_y: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nab result_expr: $-[0] expected_results 2 +109_n: OK regex: ab\Z parsed_regex: ab\Z str: ac\nb\n result_expr: - expected_results - +110_n: OK regex: ab\z parsed_regex: ab\z str: ac\nb\n result_expr: - expected_results - +111_n: OK regex: ab$ parsed_regex: ab$ str: ac\nb\n result_expr: - expected_results - +112_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac\n result_expr: - expected_results - +113_n: OK regex: ab\z parsed_regex: ab\z str: b\nac\n result_expr: - expected_results - +114_n: OK regex: ab$ parsed_regex: ab$ str: b\nac\n result_expr: - expected_results - +115_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nac result_expr: - expected_results - +116_n: OK regex: ab\z parsed_regex: ab\z str: b\nac result_expr: - expected_results - +117_n: OK regex: ab$ parsed_regex: ab$ str: b\nac result_expr: - expected_results - +118_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ac\nb\n result_expr: - expected_results - +119_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ac\nb\n result_expr: - expected_results - +120_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ac\nb\n result_expr: - expected_results - +121_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac\n result_expr: - expected_results - +122_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac\n result_expr: - expected_results - +123_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac\n result_expr: - expected_results - +124_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nac result_expr: - expected_results - +125_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nac result_expr: - expected_results - +126_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nac result_expr: - expected_results - +127_n: OK regex: ab\Z parsed_regex: ab\Z str: ca\nb\n result_expr: - expected_results - +128_n: OK regex: ab\z parsed_regex: ab\z str: ca\nb\n result_expr: - expected_results - +129_n: OK regex: ab$ parsed_regex: ab$ str: ca\nb\n result_expr: - expected_results - +130_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca\n result_expr: - expected_results - +131_n: OK regex: ab\z parsed_regex: ab\z str: b\nca\n result_expr: - expected_results - +132_n: OK regex: ab$ parsed_regex: ab$ str: b\nca\n result_expr: - expected_results - +133_n: OK regex: ab\Z parsed_regex: ab\Z str: b\nca result_expr: - expected_results - +134_n: OK regex: ab\z parsed_regex: ab\z str: b\nca result_expr: - expected_results - +135_n: OK regex: ab$ parsed_regex: ab$ str: b\nca result_expr: - expected_results - +136_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: ca\nb\n result_expr: - expected_results - +137_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: ca\nb\n result_expr: - expected_results - +138_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: ca\nb\n result_expr: - expected_results - +139_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca\n result_expr: - expected_results - +140_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca\n result_expr: - expected_results - +141_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca\n result_expr: - expected_results - +142_n: OK regex: 'ab\Z'm parsed_regex: 'ab\Z'm str: b\nca result_expr: - expected_results - +143_n: OK regex: 'ab\z'm parsed_regex: 'ab\z'm str: b\nca result_expr: - expected_results - +144_n: OK regex: 'ab$'m parsed_regex: 'ab$'m str: b\nca result_expr: - expected_results - +145_n: OK regex: abb\Z parsed_regex: abb\Z str: abb\nb\n result_expr: - expected_results - +146_n: OK regex: abb\z parsed_regex: abb\z str: abb\nb\n result_expr: - expected_results - +147_n: OK regex: abb$ parsed_regex: abb$ str: abb\nb\n result_expr: - expected_results - +148_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb\n result_expr: $-[0] expected_results 2 +149_n: OK regex: abb\z parsed_regex: abb\z str: b\nabb\n result_expr: - expected_results - +150_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb\n result_expr: $-[0] expected_results 2 +151_y: OK regex: abb\Z parsed_regex: abb\Z str: b\nabb result_expr: $-[0] expected_results 2 +152_y: OK regex: abb\z parsed_regex: abb\z str: b\nabb result_expr: $-[0] expected_results 2 +153_y: OK regex: abb$ parsed_regex: abb$ str: b\nabb result_expr: $-[0] expected_results 2 +154_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: abb\nb\n result_expr: - expected_results - +155_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: abb\nb\n result_expr: - expected_results - +156_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: abb\nb\n result_expr: $-[0] expected_results 0 +157_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb\n result_expr: $-[0] expected_results 2 +158_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb\n result_expr: - expected_results - +159_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb\n result_expr: $-[0] expected_results 2 +160_y: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nabb result_expr: $-[0] expected_results 2 +161_y: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nabb result_expr: $-[0] expected_results 2 +162_y: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nabb result_expr: $-[0] expected_results 2 +163_n: OK regex: abb\Z parsed_regex: abb\Z str: ac\nb\n result_expr: - expected_results - +164_n: OK regex: abb\z parsed_regex: abb\z str: ac\nb\n result_expr: - expected_results - +165_n: OK regex: abb$ parsed_regex: abb$ str: ac\nb\n result_expr: - expected_results - +166_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac\n result_expr: - expected_results - +167_n: OK regex: abb\z parsed_regex: abb\z str: b\nac\n result_expr: - expected_results - +168_n: OK regex: abb$ parsed_regex: abb$ str: b\nac\n result_expr: - expected_results - +169_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nac result_expr: - expected_results - +170_n: OK regex: abb\z parsed_regex: abb\z str: b\nac result_expr: - expected_results - +171_n: OK regex: abb$ parsed_regex: abb$ str: b\nac result_expr: - expected_results - +172_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ac\nb\n result_expr: - expected_results - +173_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ac\nb\n result_expr: - expected_results - +174_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ac\nb\n result_expr: - expected_results - +175_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac\n result_expr: - expected_results - +176_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac\n result_expr: - expected_results - +177_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac\n result_expr: - expected_results - +178_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nac result_expr: - expected_results - +179_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nac result_expr: - expected_results - +180_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nac result_expr: - expected_results - +181_n: OK regex: abb\Z parsed_regex: abb\Z str: ca\nb\n result_expr: - expected_results - +182_n: OK regex: abb\z parsed_regex: abb\z str: ca\nb\n result_expr: - expected_results - +183_n: OK regex: abb$ parsed_regex: abb$ str: ca\nb\n result_expr: - expected_results - +184_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca\n result_expr: - expected_results - +185_n: OK regex: abb\z parsed_regex: abb\z str: b\nca\n result_expr: - expected_results - +186_n: OK regex: abb$ parsed_regex: abb$ str: b\nca\n result_expr: - expected_results - +187_n: OK regex: abb\Z parsed_regex: abb\Z str: b\nca result_expr: - expected_results - +188_n: OK regex: abb\z parsed_regex: abb\z str: b\nca result_expr: - expected_results - +189_n: OK regex: abb$ parsed_regex: abb$ str: b\nca result_expr: - expected_results - +190_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: ca\nb\n result_expr: - expected_results - +191_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: ca\nb\n result_expr: - expected_results - +192_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: ca\nb\n result_expr: - expected_results - +193_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca\n result_expr: - expected_results - +194_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca\n result_expr: - expected_results - +195_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca\n result_expr: - expected_results - +196_n: OK regex: 'abb\Z'm parsed_regex: 'abb\Z'm str: b\nca result_expr: - expected_results - +197_n: OK regex: 'abb\z'm parsed_regex: 'abb\z'm str: b\nca result_expr: - expected_results - +198_n: OK regex: 'abb$'m parsed_regex: 'abb$'m str: b\nca result_expr: - expected_results - +199_y: OK regex: '\Aa$'m parsed_regex: '\Aa$'m str: a\n\n result_expr: $& expected_results a diff --git a/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_15_group_modifiers.cpp.execution b/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_15_group_modifiers.cpp.execution index de92abc48..825910cc8 100644 --- a/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_15_group_modifiers.cpp.execution +++ b/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_15_group_modifiers.cpp.execution @@ -31,56 +31,24 @@ Running tests_15_group_modifiers: 30_y: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: aB result_expr: $1 expected_results a 31_n: OK regex: '(?-i:a)b'i parsed_regex: '(?-i:a)b'i str: AB result_expr: - expected_results - 32_n: OK regex: '((?-i:a))b'i parsed_regex: '((?-i:a))b'i str: AB result_expr: - expected_results - -33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a -B result_expr: - expected_results - -34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a -B result_expr: - expected_results - -35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a -B result_expr: $1 expected_results a - -36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a -B result_expr: - expected_results - -37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B -B result_expr: - expected_results - -38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B -B result_expr: - expected_results - +33_n: OK regex: '((?-i:a.))b'i parsed_regex: '((?-i:a.))b'i str: a\nB result_expr: - expected_results - +34_n: OK regex: '((?-i:a\N))b'i parsed_regex: '((?-i:a\N))b'i str: a\nB result_expr: - expected_results - +35_y: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: a\nB result_expr: $1 expected_results a\n +36_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: a\nB result_expr: - expected_results - +37_n: OK regex: '((?s-i:a.))b'i parsed_regex: '((?s-i:a.))b'i str: B\nB result_expr: - expected_results - +38_n: OK regex: '((?s-i:a\N))b'i parsed_regex: '((?s-i:a\N))b'i str: B\nB result_expr: - expected_results - 39_y: OK regex: (?i:.[b].) parsed_regex: (?i:.[b].) str: abd result_expr: $& expected_results abd 40_y: OK regex: (?i:\N[b]\N) parsed_regex: (?i:\N[b]\N) str: abd result_expr: $& expected_results abd 41_n: OK regex: ^(?:a?b?)*$ parsed_regex: ^(?:a?b?)*$ str: a-- result_expr: - expected_results - -42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a -b -c - result_expr: $1;$2;$3 expected_results a -; -;b -43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a -b -c - result_expr: $1 expected_results b -44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a -b - result_expr: $& expected_results b -45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a -b - result_expr: $1 expected_results b -46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b - result_expr: $1 expected_results b -47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a -b - result_expr: $1 expected_results b -48_n: OK regex: ^b parsed_regex: ^b str: a -b -c - result_expr: - expected_results - -49_n: OK regex: ()^b parsed_regex: ()^b str: a -b -c - result_expr: - expected_results - -50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a -b -c - result_expr: $1 expected_results b +42_y: OK regex: ((?s)^a(.))((?m)^b$) parsed_regex: ((?s)^a(.))((?m)^b$) str: a\nb\nc\n result_expr: $1;$2;$3 expected_results a\n;\n;b +43_y: OK regex: ((?m)^b$) parsed_regex: ((?m)^b$) str: a\nb\nc\n result_expr: $1 expected_results b +44_y: OK regex: (?m)^b parsed_regex: (?m)^b str: a\nb\n result_expr: $& expected_results b +45_y: OK regex: (?m)^(b) parsed_regex: (?m)^(b) str: a\nb\n result_expr: $1 expected_results b +46_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\n result_expr: $1 expected_results b +47_y: OK regex: \n((?m)^b) parsed_regex: \n((?m)^b) str: a\nb\n result_expr: $1 expected_results b +48_n: OK regex: ^b parsed_regex: ^b str: a\nb\nc\n result_expr: - expected_results - +49_n: OK regex: ()^b parsed_regex: ()^b str: a\nb\nc\n result_expr: - expected_results - +50_y: OK regex: ((?m)^b) parsed_regex: ((?m)^b) str: a\nb\nc\n result_expr: $1 expected_results b 51_y: OK Warning: Parsed regex does not match. regex: '(foo)'n parsed_regex: '(?:foo)'n str: foobar result_expr: $&-$1 expected_results foo- 52_y: OK Warning: Parsed regex does not match. regex: '(?-n)(foo)(?n)(bar)'n parsed_regex: '(?-n)(foo)(?n)(?:bar)'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- 53_y: OK Warning: Parsed regex does not match. regex: '(?-n:(foo)(?n:(bar)))'n parsed_regex: '(?-n:(foo)(?n:(?:bar)))'n str: foobar result_expr: $&-$1-$2 expected_results foobar-foo- diff --git a/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_19_lookahead.cpp.execution b/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_19_lookahead.cpp.execution index 7b34914b1..d4c65d951 100644 --- a/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_19_lookahead.cpp.execution +++ b/regression-tests/test-results/msvc-2022-c++latest/pure2-regex_19_lookahead.cpp.execution @@ -29,9 +29,7 @@ Running tests_19_lookahead: 28_y: OK regex: a(?!b(?=a))(..) parsed_regex: a(?!b(?=a))(..) str: abababc result_expr: $1 expected_results bc 37_y: OK regex: X(\w+)(?=\s)|X(\w+) parsed_regex: X(\w+)(?=\s)|X(\w+) str: Xab result_expr: [$1-$2] expected_results [-ab] 38_y: OK regex: ^a*(?=b)b parsed_regex: ^a*(?=b)b str: ab result_expr: $& expected_results ab -39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a -xb - result_expr: - expected_results - +39_y: OK regex: '(?!\A)x'm parsed_regex: '(?!\A)x'm str: a\nxb\n result_expr: - expected_results - 40_n: OK regex: '^(o)(?!.*\1)'i parsed_regex: '^(o)(?!.*\1)'i str: Oo result_expr: - expected_results - 41_n: OK regex: .*a(?!(b|cd)*e).*f parsed_regex: .*a(?!(b|cd)*e).*f str: ......abef result_expr: - expected_results - 42_y: OK regex: ^(a*?)(?!(aa|aaaa)*$) parsed_regex: ^(a*?)(?!(aa|aaaa)*$) str: aaaaaaaaaaaaaaaaaaaa result_expr: $1 expected_results a @@ -39,39 +37,11 @@ xb 44_y: OK regex: ^(a*?)(?!(a{6}|a{5})*$) parsed_regex: ^(a*?)(?!(a{6}|a{5})*$) str: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa result_expr: $+[1] expected_results 12 45_y: OK regex: a(?!b(?!c(?!d(?!e))))...(.) parsed_regex: a(?!b(?!c(?!d(?!e))))...(.) str: abxabcdxabcde result_expr: $1 expected_results e 46_y: OK regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X parsed_regex: X(?!b+(?!(c+)*(?!(c+)*d))).*X str: aXbbbbbbbcccccccccccccaaaX result_expr: - expected_results - -47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1 expected_results - -48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a -b -c - result_expr: $1:$& expected_results -: -c -49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1 expected_results b - -50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a -b -c - result_expr: $1:$& expected_results b -:b -c -52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a -b -c - result_expr: $1:$& expected_results b -:b -c +47_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results \n +48_y: OK regex: ((?s).)c(?!.) parsed_regex: ((?s).)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results \n:\nc +49_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1 expected_results b\n +50_y: OK regex: ((?s)b.)c(?!.) parsed_regex: ((?s)b.)c(?!.) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +51_y: OK regex: ((?s)b.)c(?!\N) parsed_regex: ((?s)b.)c(?!\N) str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc +52_y: OK regex: '(b.)c(?!\N)'s parsed_regex: '(b.)c(?!\N)'s str: a\nb\nc\n result_expr: $1:$& expected_results b\n:b\nc 53_n: OK regex: a*(?!) parsed_regex: a*(?!) str: aaaab result_expr: - expected_results - diff --git a/regression-tests/test-results/msvc-2022-c++latest/pure2-type-safety-1.cpp.output b/regression-tests/test-results/msvc-2022-c++latest/pure2-type-safety-1.cpp.output index cdc655933..4e23eda77 100644 --- a/regression-tests/test-results/msvc-2022-c++latest/pure2-type-safety-1.cpp.output +++ b/regression-tests/test-results/msvc-2022-c++latest/pure2-type-safety-1.cpp.output @@ -1 +1,12 @@ pure2-type-safety-1.cpp +pure2-type-safety-1.cpp2(26): error C2666: 'print': overloaded functions have similar conversions +pure2-type-safety-1.cpp2(29): note: could be 'void print(const std::string &,const bool)' +C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\include\print(125): note: or 'void std::print(const std::basic_format_string>,std::false_type &&)' [found using argument-dependent lookup] +pure2-type-safety-1.cpp2(26): note: while trying to match the argument list '(std::basic_string,std::allocator>, std::false_type)' +pure2-type-safety-1.cpp2(26): note: the template instantiation context (the oldest one first) is +pure2-type-safety-1.cpp2(8): note: see reference to function template instantiation 'void test_generic(const _T0 &,const _T1 (&))' being compiled + with + [ + _T0=double, + _T1=char [7] + ]