aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorPaul Eggert2016-12-12 23:16:42 -0800
committerPaul Eggert2016-12-12 23:17:19 -0800
commitdc833039179ee11dae9aeb15b7d75e7435f7f1c9 (patch)
tree2ee64357c1a4676c505da35794bf4c0188320852 /test/src
parentc78f872a5667abacb3531edd9aad969af31a3e1f (diff)
downloademacs-dc833039179ee11dae9aeb15b7d75e7435f7f1c9.tar.gz
emacs-dc833039179ee11dae9aeb15b7d75e7435f7f1c9.zip
* test/src/regex-resources/PTESTS: Convert to UTF-8.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/regex-resources/PTESTS542
1 files changed, 271 insertions, 271 deletions
diff --git a/test/src/regex-resources/PTESTS b/test/src/regex-resources/PTESTS
index 02b357cf2e3..68acc314d37 100644
--- a/test/src/regex-resources/PTESTS
+++ b/test/src/regex-resources/PTESTS
@@ -1,341 +1,341 @@
1# 2.8.2 Regular Expression General Requirement 1# 2.8.2 Regular Expression General Requirement
22¦4¦bb*¦abbbc¦ 22¦4¦bb*¦abbbc¦
32¦2¦bb*¦ababbbc¦ 32¦2¦bb*¦ababbbc¦
47¦9¦A#*::¦A:A#:qA::qA#::qA##::q¦ 47¦9¦A#*::¦A:A#:qA::qA#::qA##::q¦
51¦5¦A#*::¦A##::A#::qA::qA#:q¦ 51¦5¦A#*::¦A##::A#::qA::qA#:q¦
6# 2.8.3.1.2 BRE Special Characters 6# 2.8.3.1.2 BRE Special Characters
7# GA108 7# GA108
82¦2¦\.¦a.c¦ 82¦2¦\.¦a.c¦
92¦2¦\[¦a[c¦ 92¦2¦\[¦a[c¦
102¦2¦\\¦a\c¦ 102¦2¦\\¦a\c¦
112¦2¦\*¦a*c¦ 112¦2¦\*¦a*c¦
122¦2¦\^¦a^c¦ 122¦2¦\^¦a^c¦
132¦2¦\$¦a$c¦ 132¦2¦\$¦a$c¦
147¦11¦X\*Y\*8¦Y*8X*8X*Y*8¦ 147¦11¦X\*Y\*8¦Y*8X*8X*Y*8¦
15# GA109 15# GA109
162¦2¦[.]¦a.c¦ 162¦2¦[.]¦a.c¦
172¦2¦[[]¦a[c¦ 172¦2¦[[]¦a[c¦
18-1¦-1¦[[]¦ac¦ 18-1¦-1¦[[]¦ac¦
192¦2¦[\]¦a\c¦ 192¦2¦[\]¦a\c¦
201¦1¦[\a]¦abc¦ 201¦1¦[\a]¦abc¦
212¦2¦[\.]¦a\.c¦ 212¦2¦[\.]¦a\.c¦
222¦2¦[\.]¦a.\c¦ 222¦2¦[\.]¦a.\c¦
232¦2¦[*]¦a*c¦ 232¦2¦[*]¦a*c¦
242¦2¦[$]¦a$c¦ 242¦2¦[$]¦a$c¦
252¦2¦[X*Y8]¦7*8YX¦ 252¦2¦[X*Y8]¦7*8YX¦
26# GA110 26# GA110
272¦2¦*¦a*c¦ 272¦2¦*¦a*c¦
283¦4¦*a¦*b*a*c¦ 283¦4¦*a¦*b*a*c¦
291¦5¦**9=¦***9=9¦ 291¦5¦**9=¦***9=9¦
30# GA111 30# GA111
311¦1¦^*¦*bc¦ 311¦1¦^*¦*bc¦
32-1¦-1¦^*¦a*c¦ 32-1¦-1¦^*¦a*c¦
33-1¦-1¦^*¦^*ab¦ 33-1¦-1¦^*¦^*ab¦
341¦5¦^**9=¦***9=¦ 341¦5¦^**9=¦***9=¦
35-1¦-1¦^*5<*9¦5<9*5<*9¦ 35-1¦-1¦^*5<*9¦5<9*5<*9¦
36# GA112 36# GA112
372¦3¦\(*b\)¦a*b¦ 372¦3¦\(*b\)¦a*b¦
38-1¦-1¦\(*b\)¦ac¦ 38-1¦-1¦\(*b\)¦ac¦
391¦6¦A\(**9\)=¦A***9=79¦ 391¦6¦A\(**9\)=¦A***9=79¦
40# GA113(1) 40# GA113(1)
411¦3¦\(^*ab\)¦*ab¦ 411¦3¦\(^*ab\)¦*ab¦
42-1¦-1¦\(^*ab\)¦^*ab¦ 42-1¦-1¦\(^*ab\)¦^*ab¦
43-1¦-1¦\(^*b\)¦a*b¦ 43-1¦-1¦\(^*b\)¦a*b¦
44-1¦-1¦\(^*b\)¦^*b¦ 44-1¦-1¦\(^*b\)¦^*b¦
45### GA113(2) GNU regex implements GA113(1) 45### GA113(2) GNU regex implements GA113(1)
46##-1¦-1¦\(^*ab\)¦*ab¦ 46##-1¦-1¦\(^*ab\)¦*ab¦
47##-1¦-1¦\(^*ab\)¦^*ab¦ 47##-1¦-1¦\(^*ab\)¦^*ab¦
48##1¦1¦\(^*b\)¦b¦ 48##1¦1¦\(^*b\)¦b¦
49##1¦3¦\(^*b\)¦^^b¦ 49##1¦3¦\(^*b\)¦^^b¦
50# GA114 50# GA114
511¦3¦a^b¦a^b¦ 511¦3¦a^b¦a^b¦
521¦3¦a\^b¦a^b¦ 521¦3¦a\^b¦a^b¦
531¦1¦^^¦^bc¦ 531¦1¦^^¦^bc¦
542¦2¦\^¦a^c¦ 542¦2¦\^¦a^c¦
551¦1¦[c^b]¦^abc¦ 551¦1¦[c^b]¦^abc¦
561¦1¦[\^ab]¦^ab¦ 561¦1¦[\^ab]¦^ab¦
572¦2¦[\^ab]¦c\d¦ 572¦2¦[\^ab]¦c\d¦
58-1¦-1¦[^^]¦^¦ 58-1¦-1¦[^^]¦^¦
591¦3¦\(a^b\)¦a^b¦ 591¦3¦\(a^b\)¦a^b¦
601¦3¦\(a\^b\)¦a^b¦ 601¦3¦\(a\^b\)¦a^b¦
612¦2¦\(\^\)¦a^b¦ 612¦2¦\(\^\)¦a^b¦
62# GA115 62# GA115
633¦3¦$$¦ab$¦ 633¦3¦$$¦ab$¦
64-1¦-1¦$$¦$ab¦ 64-1¦-1¦$$¦$ab¦
652¦3¦$c¦a$c¦ 652¦3¦$c¦a$c¦
662¦2¦[$]¦a$c¦ 662¦2¦[$]¦a$c¦
671¦2¦\$a¦$a¦ 671¦2¦\$a¦$a¦
683¦3¦\$$¦ab$¦ 683¦3¦\$$¦ab$¦
692¦6¦A\([34]$[34]\)B¦XA4$3BY¦ 692¦6¦A\([34]$[34]\)B¦XA4$3BY¦
70# 2.8.3.1.3 Periods in BREs 70# 2.8.3.1.3 Periods in BREs
71# GA116 71# GA116
721¦1¦.¦abc¦ 721¦1¦.¦abc¦
73-1¦-1¦.ab¦abc¦ 73-1¦-1¦.ab¦abc¦
741¦3¦ab.¦abc¦ 741¦3¦ab.¦abc¦
751¦3¦a.b¦a,b¦ 751¦3¦a.b¦a,b¦
76-1¦-1¦.......¦PqRs6¦ 76-1¦-1¦.......¦PqRs6¦
771¦7¦.......¦PqRs6T8¦ 771¦7¦.......¦PqRs6T8¦
78# 2.8.3.2 RE Bracket Expression 78# 2.8.3.2 RE Bracket Expression
79# GA118 79# GA118
802¦2¦[abc]¦xbyz¦ 802¦2¦[abc]¦xbyz¦
81-1¦-1¦[abc]¦xyz¦ 81-1¦-1¦[abc]¦xyz¦
822¦2¦[abc]¦xbay¦ 822¦2¦[abc]¦xbay¦
83# GA119 83# GA119
842¦2¦[^a]¦abc¦ 842¦2¦[^a]¦abc¦
854¦4¦[^]cd]¦cd]ef¦ 854¦4¦[^]cd]¦cd]ef¦
862¦2¦[^abc]¦axyz¦ 862¦2¦[^abc]¦axyz¦
87-1¦-1¦[^abc]¦abc¦ 87-1¦-1¦[^abc]¦abc¦
883¦3¦[^[.a.]b]¦abc¦ 883¦3¦[^[.a.]b]¦abc¦
893¦3¦[^[=a=]b]¦abc¦ 893¦3¦[^[=a=]b]¦abc¦
902¦2¦[^-ac]¦abcde-¦ 902¦2¦[^-ac]¦abcde-¦
912¦2¦[^ac-]¦abcde-¦ 912¦2¦[^ac-]¦abcde-¦
923¦3¦[^a-b]¦abcde¦ 923¦3¦[^a-b]¦abcde¦
933¦3¦[^a-bd-e]¦dec¦ 933¦3¦[^a-bd-e]¦dec¦
942¦2¦[^---]¦-ab¦ 942¦2¦[^---]¦-ab¦
9516¦16¦[^a-zA-Z0-9]¦pqrstVWXYZ23579#¦ 9516¦16¦[^a-zA-Z0-9]¦pqrstVWXYZ23579#¦
96# GA120(1) 96# GA120(1)
973¦3¦[]a]¦cd]ef¦ 973¦3¦[]a]¦cd]ef¦
981¦1¦[]-a]¦a_b¦ 981¦1¦[]-a]¦a_b¦
993¦3¦[][.-.]-0]¦ab0-]¦ 993¦3¦[][.-.]-0]¦ab0-]¦
1001¦1¦[]^a-z]¦string¦ 1001¦1¦[]^a-z]¦string¦
101# GA120(2) 101# GA120(2)
1024¦4¦[^]cd]¦cd]ef¦ 1024¦4¦[^]cd]¦cd]ef¦
1030¦0¦[^]]*¦]]]]]]]]X¦ 1030¦0¦[^]]*¦]]]]]]]]X¦
1040¦0¦[^]]*¦]]]]]]]]¦ 1040¦0¦[^]]*¦]]]]]]]]¦
1059¦9¦[^]]\{1,\}¦]]]]]]]]X¦ 1059¦9¦[^]]\{1,\}¦]]]]]]]]X¦
106-1¦-1¦[^]]\{1,\}¦]]]]]]]]¦ 106-1¦-1¦[^]]\{1,\}¦]]]]]]]]¦
107# GA120(3) 107# GA120(3)
1083¦3¦[c[.].]d]¦ab]cd¦ 1083¦3¦[c[.].]d]¦ab]cd¦
1092¦8¦[a-z]*[[.].]][A-Z]*¦Abcd]DEFg¦ 1092¦8¦[a-z]*[[.].]][A-Z]*¦Abcd]DEFg¦
110# GA121 110# GA121
1112¦2¦[[.a.]b]¦Abc¦ 1112¦2¦[[.a.]b]¦Abc¦
1121¦1¦[[.a.]b]¦aBc¦ 1121¦1¦[[.a.]b]¦aBc¦
113-1¦-1¦[[.a.]b]¦ABc¦ 113-1¦-1¦[[.a.]b]¦ABc¦
1143¦3¦[^[.a.]b]¦abc¦ 1143¦3¦[^[.a.]b]¦abc¦
1153¦3¦[][.-.]-0]¦ab0-]¦ 1153¦3¦[][.-.]-0]¦ab0-]¦
1163¦3¦[A-[.].]c]¦ab]!¦ 1163¦3¦[A-[.].]c]¦ab]!¦
117# GA122 117# GA122
118-2¦-2¦[[.ch.]]¦abc¦ 118-2¦-2¦[[.ch.]]¦abc¦
119-2¦-2¦[[.ab.][.CD.][.EF.]]¦yZabCDEFQ9¦ 119-2¦-2¦[[.ab.][.CD.][.EF.]]¦yZabCDEFQ9¦
120# GA125 120# GA125
1212¦2¦[[=a=]b]¦Abc¦ 1212¦2¦[[=a=]b]¦Abc¦
1221¦1¦[[=a=]b]¦aBc¦ 1221¦1¦[[=a=]b]¦aBc¦
123-1¦-1¦[[=a=]b]¦ABc¦ 123-1¦-1¦[[=a=]b]¦ABc¦
1243¦3¦[^[=a=]b]¦abc¦ 1243¦3¦[^[=a=]b]¦abc¦
125# GA126 125# GA126
126#W the expected result for [[:alnum:]]* is 2-7 which is wrong 126#W the expected result for [[:alnum:]]* is 2-7 which is wrong
1270¦0¦[[:alnum:]]*¦ aB28gH¦ 1270¦0¦[[:alnum:]]*¦ aB28gH¦
1282¦7¦[[:alnum:]][[:alnum:]]*¦ aB28gH¦ 1282¦7¦[[:alnum:]][[:alnum:]]*¦ aB28gH¦
129#W the expected result for [^[:alnum:]]* is 2-5 which is wrong 129#W the expected result for [^[:alnum:]]* is 2-5 which is wrong
1300¦0¦[^[:alnum:]]*¦2 ,a¦ 1300¦0¦[^[:alnum:]]*¦2 ,a¦
1312¦5¦[^[:alnum:]][^[:alnum:]]*¦2 ,a¦ 1312¦5¦[^[:alnum:]][^[:alnum:]]*¦2 ,a¦
132#W the expected result for [[:alpha:]]* is 2-5 which is wrong 132#W the expected result for [[:alpha:]]* is 2-5 which is wrong
1330¦0¦[[:alpha:]]*¦ aBgH2¦ 1330¦0¦[[:alpha:]]*¦ aBgH2¦
1342¦5¦[[:alpha:]][[:alpha:]]*¦ aBgH2¦ 1342¦5¦[[:alpha:]][[:alpha:]]*¦ aBgH2¦
1351¦6¦[^[:alpha:]]*¦2 8,a¦ 1351¦6¦[^[:alpha:]]*¦2 8,a¦
1361¦2¦[[:blank:]]*¦ 1361¦2¦[[:blank:]]*¦ ¦
1371¦8¦[^[:blank:]]*¦aB28gH, ¦ 1371¦8¦[^[:blank:]]*¦aB28gH, ¦
1381¦2¦[[:cntrl:]]*¦  ¦ 1381¦2¦[[:cntrl:]]*¦  ¦
1391¦8¦[^[:cntrl:]]*¦aB2 8gh,¦ 1391¦8¦[^[:cntrl:]]*¦aB2 8gh,¦
140#W the expected result for [[:digit:]]* is 2-3 which is wrong 140#W the expected result for [[:digit:]]* is 2-3 which is wrong
1410¦0¦[[:digit:]]*¦a28¦ 1410¦0¦[[:digit:]]*¦a28¦
1422¦3¦[[:digit:]][[:digit:]]*¦a28¦ 1422¦3¦[[:digit:]][[:digit:]]*¦a28¦
1431¦8¦[^[:digit:]]*¦aB gH,¦ 1431¦8¦[^[:digit:]]*¦aB gH,¦
1441¦7¦[[:graph:]]*¦aB28gH, ¦ 1441¦7¦[[:graph:]]*¦aB28gH, ¦
1451¦3¦[^[:graph:]]*¦ ,¦ 1451¦3¦[^[:graph:]]*¦ ,¦
1461¦2¦[[:lower:]]*¦agB¦ 1461¦2¦[[:lower:]]*¦agB¦
1471¦8¦[^[:lower:]]*¦B2 8H,a¦ 1471¦8¦[^[:lower:]]*¦B2 8H,a¦
1481¦8¦[[:print:]]*¦aB2 8gH, ¦ 1481¦8¦[[:print:]]*¦aB2 8gH, ¦
1491¦2¦[^[:print:]]*¦  ¦ 1491¦2¦[^[:print:]]*¦  ¦
150#W the expected result for [[:punct:]]* is 2-2 which is wrong 150#W the expected result for [[:punct:]]* is 2-2 which is wrong
1510¦0¦[[:punct:]]*¦a,2¦ 1510¦0¦[[:punct:]]*¦a,2¦
1522¦3¦[[:punct:]][[:punct:]]*¦a,,2¦ 1522¦3¦[[:punct:]][[:punct:]]*¦a,,2¦
1531¦9¦[^[:punct:]]*¦aB2 8gH¦ 1531¦9¦[^[:punct:]]*¦aB2 8gH¦
1541¦3¦[[:space:]]*¦ 1541¦3¦[[:space:]]*¦ ¦
155#W the expected result for [^[:space:]]* is 2-9 which is wrong 155#W the expected result for [^[:space:]]* is 2-9 which is wrong
1560¦0¦[^[:space:]]*¦ aB28gH, ¦ 1560¦0¦[^[:space:]]*¦ aB28gH, ¦
1572¦9¦[^[:space:]][^[:space:]]*¦ aB28gH, ¦ 1572¦9¦[^[:space:]][^[:space:]]*¦ aB28gH, ¦
158#W the expected result for [[:upper:]]* is 2-3 which is wrong 158#W the expected result for [[:upper:]]* is 2-3 which is wrong
1590¦0¦[[:upper:]]*¦aBH2¦ 1590¦0¦[[:upper:]]*¦aBH2¦
1602¦3¦[[:upper:]][[:upper:]]*¦aBH2¦ 1602¦3¦[[:upper:]][[:upper:]]*¦aBH2¦
1611¦8¦[^[:upper:]]*¦a2 8g,B¦ 1611¦8¦[^[:upper:]]*¦a2 8g,B¦
162#W the expected result for [[:xdigit:]]* is 2-5 which is wrong 162#W the expected result for [[:xdigit:]]* is 2-5 which is wrong
1630¦0¦[[:xdigit:]]*¦gaB28h¦ 1630¦0¦[[:xdigit:]]*¦gaB28h¦
1642¦5¦[[:xdigit:]][[:xdigit:]]*¦gaB28h¦ 1642¦5¦[[:xdigit:]][[:xdigit:]]*¦gaB28h¦
165#W the expected result for [^[:xdigit:]]* is 2-7 which is wrong 165#W the expected result for [^[:xdigit:]]* is 2-7 which is wrong
1662¦7¦[^[:xdigit:]][^[:xdigit:]]*¦a gH,2¦ 1662¦7¦[^[:xdigit:]][^[:xdigit:]]*¦a gH,2¦
167# GA127 167# GA127
168-2¦-2¦[b-a]¦abc¦ 168-2¦-2¦[b-a]¦abc¦
1691¦1¦[a-c]¦bbccde¦ 1691¦1¦[a-c]¦bbccde¦
1702¦2¦[a-b]¦-bc¦ 1702¦2¦[a-b]¦-bc¦
1713¦3¦[a-z0-9]¦AB0¦ 1713¦3¦[a-z0-9]¦AB0¦
1723¦3¦[^a-b]¦abcde¦ 1723¦3¦[^a-b]¦abcde¦
1733¦3¦[^a-bd-e]¦dec¦ 1733¦3¦[^a-bd-e]¦dec¦
1741¦1¦[]-a]¦a_b¦ 1741¦1¦[]-a]¦a_b¦
1752¦2¦[+--]¦a,b¦ 1752¦2¦[+--]¦a,b¦
1762¦2¦[--/]¦a.b¦ 1762¦2¦[--/]¦a.b¦
1772¦2¦[^---]¦-ab¦ 1772¦2¦[^---]¦-ab¦
1783¦3¦[][.-.]-0]¦ab0-]¦ 1783¦3¦[][.-.]-0]¦ab0-]¦
1793¦3¦[A-[.].]c]¦ab]!¦ 1793¦3¦[A-[.].]c]¦ab]!¦
1802¦6¦bc[d-w]xy¦abchxyz¦ 1802¦6¦bc[d-w]xy¦abchxyz¦
181# GA129 181# GA129
1821¦1¦[a-cd-f]¦dbccde¦ 1821¦1¦[a-cd-f]¦dbccde¦
183-1¦-1¦[a-ce-f]¦dBCCdE¦ 183-1¦-1¦[a-ce-f]¦dBCCdE¦
1842¦4¦b[n-zA-M]Y¦absY9Z¦ 1842¦4¦b[n-zA-M]Y¦absY9Z¦
1852¦4¦b[n-zA-M]Y¦abGY9Z¦ 1852¦4¦b[n-zA-M]Y¦abGY9Z¦
186# GA130 186# GA130
1873¦3¦[-xy]¦ac-¦ 1873¦3¦[-xy]¦ac-¦
1882¦4¦c[-xy]D¦ac-D+¦ 1882¦4¦c[-xy]D¦ac-D+¦
1892¦2¦[--/]¦a.b¦ 1892¦2¦[--/]¦a.b¦
1902¦4¦c[--/]D¦ac.D+b¦ 1902¦4¦c[--/]D¦ac.D+b¦
1912¦2¦[^-ac]¦abcde-¦ 1912¦2¦[^-ac]¦abcde-¦
1921¦3¦a[^-ac]c¦abcde-¦ 1921¦3¦a[^-ac]c¦abcde-¦
1933¦3¦[xy-]¦zc-¦ 1933¦3¦[xy-]¦zc-¦
1942¦4¦c[xy-]7¦zc-786¦ 1942¦4¦c[xy-]7¦zc-786¦
1952¦2¦[^ac-]¦abcde-¦ 1952¦2¦[^ac-]¦abcde-¦
1962¦4¦a[^ac-]c¦5abcde-¦ 1962¦4¦a[^ac-]c¦5abcde-¦
1972¦2¦[+--]¦a,b¦ 1972¦2¦[+--]¦a,b¦
1982¦4¦a[+--]B¦Xa,By¦ 1982¦4¦a[+--]B¦Xa,By¦
1992¦2¦[^---]¦-ab¦ 1992¦2¦[^---]¦-ab¦
2004¦6¦X[^---]Y¦X-YXaYXbY¦ 2004¦6¦X[^---]Y¦X-YXaYXbY¦
201# 2.8.3.3 BREs Matching Multiple Characters 201# 2.8.3.3 BREs Matching Multiple Characters
202# GA131 202# GA131
2033¦4¦cd¦abcdeabcde¦ 2033¦4¦cd¦abcdeabcde¦
2041¦2¦ag*b¦abcde¦ 2041¦2¦ag*b¦abcde¦
205-1¦-1¦[a-c][e-f]¦abcdef¦ 205-1¦-1¦[a-c][e-f]¦abcdef¦
2063¦4¦[a-c][e-f]¦acbedf¦ 2063¦4¦[a-c][e-f]¦acbedf¦
2074¦8¦abc*XYZ¦890abXYZ#*¦ 2074¦8¦abc*XYZ¦890abXYZ#*¦
2084¦9¦abc*XYZ¦890abcXYZ#*¦ 2084¦9¦abc*XYZ¦890abcXYZ#*¦
2094¦15¦abc*XYZ¦890abcccccccXYZ#*¦ 2094¦15¦abc*XYZ¦890abcccccccXYZ#*¦
210-1¦-1¦abc*XYZ¦890abc*XYZ#*¦ 210-1¦-1¦abc*XYZ¦890abc*XYZ#*¦
211# GA132 211# GA132
2122¦4¦\(*bc\)¦a*bc¦ 2122¦4¦\(*bc\)¦a*bc¦
2131¦2¦\(ab\)¦abcde¦ 2131¦2¦\(ab\)¦abcde¦
2141¦10¦\(a\(b\(c\(d\(e\(f\(g\)h\(i\(j\)\)\)\)\)\)\)\)¦abcdefghijk¦ 2141¦10¦\(a\(b\(c\(d\(e\(f\(g\)h\(i\(j\)\)\)\)\)\)\)\)¦abcdefghijk¦
2153¦8¦43\(2\(6\)*0\)AB¦654320ABCD¦ 2153¦8¦43\(2\(6\)*0\)AB¦654320ABCD¦
2163¦9¦43\(2\(7\)*0\)AB¦6543270ABCD¦ 2163¦9¦43\(2\(7\)*0\)AB¦6543270ABCD¦
2173¦12¦43\(2\(7\)*0\)AB¦6543277770ABCD¦ 2173¦12¦43\(2\(7\)*0\)AB¦6543277770ABCD¦
218# GA133 218# GA133
2191¦10¦\(a\(b\(c\(d\(e\(f\(g\)h\(i\(j\)\)\)\)\)\)\)\)¦abcdefghijk¦ 2191¦10¦\(a\(b\(c\(d\(e\(f\(g\)h\(i\(j\)\)\)\)\)\)\)\)¦abcdefghijk¦
220-1¦-1¦\(a\(b\(c\(d\(e\(f\(g\)h\(i\(k\)\)\)\)\)\)\)\)¦abcdefghijk¦ 220-1¦-1¦\(a\(b\(c\(d\(e\(f\(g\)h\(i\(k\)\)\)\)\)\)\)\)¦abcdefghijk¦
221# GA134 221# GA134
2222¦4¦\(bb*\)¦abbbc¦ 2222¦4¦\(bb*\)¦abbbc¦
2232¦2¦\(bb*\)¦ababbbc¦ 2232¦2¦\(bb*\)¦ababbbc¦
2241¦6¦a\(.*b\)¦ababbbc¦ 2241¦6¦a\(.*b\)¦ababbbc¦
2251¦2¦a\(b*\)¦ababbbc¦ 2251¦2¦a\(b*\)¦ababbbc¦
2261¦20¦a\(.*b\)c¦axcaxbbbcsxbbbbbbbbc¦ 2261¦20¦a\(.*b\)c¦axcaxbbbcsxbbbbbbbbc¦
227# GA135 227# GA135
2281¦7¦\(a\(b\(c\(d\(e\)\)\)\)\)\4¦abcdededede¦ 2281¦7¦\(a\(b\(c\(d\(e\)\)\)\)\)\4¦abcdededede¦
229#W POSIX does not really specify whether a\(b\)*c\1 matches acb. 229#W POSIX does not really specify whether a\(b\)*c\1 matches acb.
230#W back references are supposed to expand to the last match, but what 230#W back references are supposed to expand to the last match, but what
231#W if there never was a match as in this case? 231#W if there never was a match as in this case?
232-1¦-1¦a\(b\)*c\1¦acb¦ 232-1¦-1¦a\(b\)*c\1¦acb¦
2331¦11¦\(a\(b\(c\(d\(e\(f\(g\)h\(i\(j\)\)\)\)\)\)\)\)\9¦abcdefghijjk¦ 2331¦11¦\(a\(b\(c\(d\(e\(f\(g\)h\(i\(j\)\)\)\)\)\)\)\)\9¦abcdefghijjk¦
234# GA136 234# GA136
235#W These two tests have the same problem as the test in GA135. No match 235#W These two tests have the same problem as the test in GA135. No match
236#W of a subexpression, why should the back reference be usable? 236#W of a subexpression, why should the back reference be usable?
237#W 1 2 a\(b\)*c\1 acb 237#W 1 2 a\(b\)*c\1 acb
238#W 4 7 a\(b\(c\(d\(f\)*\)\)\)\4¦xYzabcdePQRST 238#W 4 7 a\(b\(c\(d\(f\)*\)\)\)\4¦xYzabcdePQRST
239-1¦-1¦a\(b\)*c\1¦acb¦ 239-1¦-1¦a\(b\)*c\1¦acb¦
240-1¦-1¦a\(b\(c\(d\(f\)*\)\)\)\4¦xYzabcdePQRST¦ 240-1¦-1¦a\(b\(c\(d\(f\)*\)\)\)\4¦xYzabcdePQRST¦
241# GA137 241# GA137
242-2¦-2¦\(a\(b\)\)\3¦foo¦ 242-2¦-2¦\(a\(b\)\)\3¦foo¦
243-2¦-2¦\(a\(b\)\)\(a\(b\)\)\5¦foo¦ 243-2¦-2¦\(a\(b\)\)\(a\(b\)\)\5¦foo¦
244# GA138 244# GA138
2451¦2¦ag*b¦abcde¦ 2451¦2¦ag*b¦abcde¦
2461¦10¦a.*b¦abababvbabc¦ 2461¦10¦a.*b¦abababvbabc¦
2472¦5¦b*c¦abbbcdeabbbbbbcde¦ 2472¦5¦b*c¦abbbcdeabbbbbbcde¦
2482¦5¦bbb*c¦abbbcdeabbbbbbcde¦ 2482¦5¦bbb*c¦abbbcdeabbbbbbcde¦
2491¦5¦a\(b\)*c\1¦abbcbbb¦ 2491¦5¦a\(b\)*c\1¦abbcbbb¦
250-1¦-1¦a\(b\)*c\1¦abbdbd¦ 250-1¦-1¦a\(b\)*c\1¦abbdbd¦
2510¦0¦\([a-c]*\)\1¦abcacdef¦ 2510¦0¦\([a-c]*\)\1¦abcacdef¦
2521¦6¦\([a-c]*\)\1¦abcabcabcd¦ 2521¦6¦\([a-c]*\)\1¦abcabcabcd¦
2531¦2¦a^*b¦ab¦ 2531¦2¦a^*b¦ab¦
2541¦5¦a^*b¦a^^^b¦ 2541¦5¦a^*b¦a^^^b¦
255# GA139 255# GA139
2561¦2¦a\{2\}¦aaaa¦ 2561¦2¦a\{2\}¦aaaa¦
2571¦7¦\([a-c]*\)\{0,\}¦aabcaab¦ 2571¦7¦\([a-c]*\)\{0,\}¦aabcaab¦
2581¦2¦\(a\)\1\{1,2\}¦aabc¦ 2581¦2¦\(a\)\1\{1,2\}¦aabc¦
2591¦3¦\(a\)\1\{1,2\}¦aaaabc¦ 2591¦3¦\(a\)\1\{1,2\}¦aaaabc¦
260#W the expression \(\(a\)\1\)\{1,2\} is ill-formed, using \2 260#W the expression \(\(a\)\1\)\{1,2\} is ill-formed, using \2
2611¦4¦\(\(a\)\2\)\{1,2\}¦aaaabc¦ 2611¦4¦\(\(a\)\2\)\{1,2\}¦aaaabc¦
262# GA140 262# GA140
2631¦2¦a\{2\}¦aaaa¦ 2631¦2¦a\{2\}¦aaaa¦
264-1¦-1¦a\{2\}¦abcd¦ 264-1¦-1¦a\{2\}¦abcd¦
2650¦0¦a\{0\}¦aaaa¦ 2650¦0¦a\{0\}¦aaaa¦
2661¦64¦a\{64\}¦aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa¦ 2661¦64¦a\{64\}¦aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa¦
267# GA141 267# GA141
2681¦7¦\([a-c]*\)\{0,\}¦aabcaab¦ 2681¦7¦\([a-c]*\)\{0,\}¦aabcaab¦
269#W the expected result for \([a-c]*\)\{2,\} is failure which isn't correct 269#W the expected result for \([a-c]*\)\{2,\} is failure which isn't correct
2701¦3¦\([a-c]*\)\{2,\}¦abcdefg¦ 2701¦3¦\([a-c]*\)\{2,\}¦abcdefg¦
2711¦3¦\([a-c]*\)\{1,\}¦abcdefg¦ 2711¦3¦\([a-c]*\)\{1,\}¦abcdefg¦
272-1¦-1¦a\{64,\}¦aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa¦ 272-1¦-1¦a\{64,\}¦aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa¦
273# GA142 273# GA142
2741¦3¦a\{2,3\}¦aaaa¦ 2741¦3¦a\{2,3\}¦aaaa¦
275-1¦-1¦a\{2,3\}¦abcd¦ 275-1¦-1¦a\{2,3\}¦abcd¦
2760¦0¦\([a-c]*\)\{0,0\}¦foo¦ 2760¦0¦\([a-c]*\)\{0,0\}¦foo¦
2771¦63¦a\{1,63\}¦aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa¦ 2771¦63¦a\{1,63\}¦aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa¦
278# 2.8.3.4 BRE Precedence 278# 2.8.3.4 BRE Precedence
279# GA143 279# GA143
280#W There are numerous bugs in the original version. 280#W There are numerous bugs in the original version.
2812¦19¦\^\[[[.].]]\\(\\1\\)\*\\{1,2\\}\$¦a^[]\(\1\)*\{1,2\}$b¦ 2812¦19¦\^\[[[.].]]\\(\\1\\)\*\\{1,2\\}\$¦a^[]\(\1\)*\{1,2\}$b¦
2821¦6¦[[=*=]][[=\=]][[=]=]][[===]][[...]][[:punct:]]¦*\]=.;¦ 2821¦6¦[[=*=]][[=\=]][[=]=]][[===]][[...]][[:punct:]]¦*\]=.;¦
2831¦6¦[$\(*\)^]*¦$\()*^¦ 2831¦6¦[$\(*\)^]*¦$\()*^¦
2841¦1¦[\1]¦1¦ 2841¦1¦[\1]¦1¦
2851¦1¦[\{1,2\}]¦{¦ 2851¦1¦[\{1,2\}]¦{¦
286#W the expected result for \(*\)*\1* is 2-2 which isn't correct 286#W the expected result for \(*\)*\1* is 2-2 which isn't correct
2870¦0¦\(*\)*\1*¦a*b*11¦ 2870¦0¦\(*\)*\1*¦a*b*11¦
2882¦3¦\(*\)*\1*b¦a*b*11¦ 2882¦3¦\(*\)*\1*b¦a*b*11¦
289#W the expected result for \(a\(b\{1,2\}\)\{1,2\}\) is 1-5 which isn't correct 289#W the expected result for \(a\(b\{1,2\}\)\{1,2\}\) is 1-5 which isn't correct
2901¦3¦\(a\(b\{1,2\}\)\{1,2\}\)¦abbab¦ 2901¦3¦\(a\(b\{1,2\}\)\{1,2\}\)¦abbab¦
2911¦5¦\(a\(b\{1,2\}\)\)\{1,2\}¦abbab¦ 2911¦5¦\(a\(b\{1,2\}\)\)\{1,2\}¦abbab¦
2921¦1¦^\(^\(^a$\)$\)$¦a¦ 2921¦1¦^\(^\(^a$\)$\)$¦a¦
2931¦2¦\(a\)\1$¦aa¦ 2931¦2¦\(a\)\1$¦aa¦
2941¦3¦ab*¦abb¦ 2941¦3¦ab*¦abb¦
2951¦4¦ab\{2,4\}¦abbbc¦ 2951¦4¦ab\{2,4\}¦abbbc¦
296# 2.8.3.5 BRE Expression Anchoring 296# 2.8.3.5 BRE Expression Anchoring
297# GA144 297# GA144
2981¦1¦^a¦abc¦ 2981¦1¦^a¦abc¦
299-1¦-1¦^b¦abc¦ 299-1¦-1¦^b¦abc¦
300-1¦-1¦^[a-zA-Z]¦99Nine¦ 300-1¦-1¦^[a-zA-Z]¦99Nine¦
3011¦4¦^[a-zA-Z]*¦Nine99¦ 3011¦4¦^[a-zA-Z]*¦Nine99¦
302# GA145(1) 302# GA145(1)
3031¦2¦\(^a\)\1¦aabc¦ 3031¦2¦\(^a\)\1¦aabc¦
304-1¦-1¦\(^a\)\1¦^a^abc¦ 304-1¦-1¦\(^a\)\1¦^a^abc¦
3051¦2¦\(^^a\)¦^a¦ 3051¦2¦\(^^a\)¦^a¦
3061¦1¦\(^^\)¦^^¦ 3061¦1¦\(^^\)¦^^¦
3071¦3¦\(^abc\)¦abcdef¦ 3071¦3¦\(^abc\)¦abcdef¦
308-1¦-1¦\(^def\)¦abcdef¦ 308-1¦-1¦\(^def\)¦abcdef¦
309### GA145(2) GNU regex implements GA145(1) 309### GA145(2) GNU regex implements GA145(1)
310##-1¦-1¦\(^a\)\1¦aabc¦ 310##-1¦-1¦\(^a\)\1¦aabc¦
311##1¦4¦\(^a\)\1¦^a^abc¦ 311##1¦4¦\(^a\)\1¦^a^abc¦
312##-1¦-1¦\(^^a\)¦^a¦ 312##-1¦-1¦\(^^a\)¦^a¦
313##1¦2¦\(^^\)¦^^¦ 313##1¦2¦\(^^\)¦^^¦
314# GA146 314# GA146
3153¦3¦a$¦cba¦ 3153¦3¦a$¦cba¦
316-1¦-1¦a$¦abc¦ 316-1¦-1¦a$¦abc¦
3175¦7¦[a-z]*$¦99ZZxyz¦ 3175¦7¦[a-z]*$¦99ZZxyz¦
318#W the expected result for [a-z]*$ is failure which isn't correct 318#W the expected result for [a-z]*$ is failure which isn't correct
31910¦9¦[a-z]*$¦99ZZxyz99¦ 31910¦9¦[a-z]*$¦99ZZxyz99¦
3203¦3¦$$¦ab$¦ 3203¦3¦$$¦ab$¦
321-1¦-1¦$$¦$ab¦ 321-1¦-1¦$$¦$ab¦
3223¦3¦\$$¦ab$¦ 3223¦3¦\$$¦ab$¦
323# GA147(1) 323# GA147(1)
324-1¦-1¦\(a$\)\1¦bcaa¦ 324-1¦-1¦\(a$\)\1¦bcaa¦
325-1¦-1¦\(a$\)\1¦ba$¦ 325-1¦-1¦\(a$\)\1¦ba$¦
326-1¦-1¦\(ab$\)¦ab$¦ 326-1¦-1¦\(ab$\)¦ab$¦
3271¦2¦\(ab$\)¦ab¦ 3271¦2¦\(ab$\)¦ab¦
3284¦6¦\(def$\)¦abcdef¦ 3284¦6¦\(def$\)¦abcdef¦
329-1¦-1¦\(abc$\)¦abcdef¦ 329-1¦-1¦\(abc$\)¦abcdef¦
330### GA147(2) GNU regex implements GA147(1) 330### GA147(2) GNU regex implements GA147(1)
331##-1¦-1¦\(a$\)\1¦bcaa¦ 331##-1¦-1¦\(a$\)\1¦bcaa¦
332##2¦5¦\(a$\)\1¦ba$a$¦ 332##2¦5¦\(a$\)\1¦ba$a$¦
333##-1¦-1¦\(ab$\)¦ab¦ 333##-1¦-1¦\(ab$\)¦ab¦
334##1¦3¦\(ab$\)¦ab$¦ 334##1¦3¦\(ab$\)¦ab$¦
335# GA148 335# GA148
3360¦0¦^$¦¦ 3360¦0¦^$¦¦
3371¦3¦^abc$¦abc¦ 3371¦3¦^abc$¦abc¦
338-1¦-1¦^xyz$¦^xyz^¦ 338-1¦-1¦^xyz$¦^xyz^¦
339-1¦-1¦^234$¦^234$¦ 339-1¦-1¦^234$¦^234$¦
3401¦9¦^[a-zA-Z0-9]*$¦2aA3bB9zZ¦ 3401¦9¦^[a-zA-Z0-9]*$¦2aA3bB9zZ¦
341-1¦-1¦^[a-z0-9]*$¦2aA3b#B9zZ¦ 341-1¦-1¦^[a-z0-9]*$¦2aA3b#B9zZ¦