• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[[tests]]
2name = "basic3"
3options = ['escaped']
4pattern = '''abracadabra$'''
5input = '''abracadabracadabra'''
6matches = [[7, 18]]
7
8[[tests]]
9name = "basic4"
10options = ['escaped']
11pattern = '''a...b'''
12input = '''abababbb'''
13matches = [[2, 7]]
14
15[[tests]]
16name = "basic5"
17options = ['escaped']
18pattern = '''XXXXXX'''
19input = '''..XXXXXX'''
20matches = [[2, 8]]
21
22[[tests]]
23name = "basic6"
24options = ['escaped']
25pattern = '''\)'''
26input = '''()'''
27matches = [[1, 2]]
28
29[[tests]]
30name = "basic7"
31options = ['escaped']
32pattern = '''a]'''
33input = '''a]a'''
34matches = [[0, 2]]
35
36[[tests]]
37name = "basic9"
38options = ['escaped']
39pattern = '''\}'''
40input = '''}'''
41matches = [[0, 1]]
42
43[[tests]]
44name = "basic10"
45options = ['escaped']
46pattern = '''\]'''
47input = ''']'''
48matches = [[0, 1]]
49
50[[tests]]
51name = "basic12"
52options = ['escaped']
53pattern = ''']'''
54input = ''']'''
55matches = [[0, 1]]
56
57[[tests]]
58name = "basic15"
59options = ['escaped']
60pattern = '''^a'''
61input = '''ax'''
62matches = [[0, 1]]
63
64[[tests]]
65name = "basic16"
66options = ['escaped']
67pattern = '''\^a'''
68input = '''a^a'''
69matches = [[1, 3]]
70
71[[tests]]
72name = "basic17"
73options = ['escaped']
74pattern = '''a\^'''
75input = '''a^'''
76matches = [[0, 2]]
77
78[[tests]]
79name = "basic18"
80options = ['escaped']
81pattern = '''a$'''
82input = '''aa'''
83matches = [[1, 2]]
84
85[[tests]]
86name = "basic19"
87options = ['escaped']
88pattern = '''a\$'''
89input = '''a$'''
90matches = [[0, 2]]
91
92[[tests]]
93name = "basic20"
94options = ['escaped']
95pattern = '''^$'''
96input = ''''''
97matches = [[0, 0]]
98
99[[tests]]
100name = "basic21"
101options = ['escaped']
102pattern = '''$^'''
103input = ''''''
104matches = [[0, 0]]
105
106[[tests]]
107name = "basic22"
108options = ['escaped']
109pattern = '''a($)'''
110input = '''aa'''
111matches = [[1, 2]]
112
113[[tests]]
114name = "basic23"
115options = ['escaped']
116pattern = '''a*(^a)'''
117input = '''aa'''
118matches = [[0, 1]]
119
120[[tests]]
121name = "basic24"
122options = ['escaped']
123pattern = '''(..)*(...)*'''
124input = '''a'''
125matches = [[0, 0]]
126
127[[tests]]
128name = "basic25"
129options = ['escaped']
130pattern = '''(..)*(...)*'''
131input = '''abcd'''
132matches = [[0, 4]]
133
134[[tests]]
135name = "basic26"
136options = ['escaped']
137pattern = '''(ab|a)(bc|c)'''
138input = '''abc'''
139matches = [[0, 3]]
140
141[[tests]]
142name = "basic27"
143options = ['escaped']
144pattern = '''(ab)c|abc'''
145input = '''abc'''
146matches = [[0, 3]]
147
148[[tests]]
149name = "basic28"
150options = ['escaped']
151pattern = '''a{0}b'''
152input = '''ab'''
153matches = [[1, 2]]
154
155[[tests]]
156name = "basic29"
157options = ['escaped']
158pattern = '''(a*)(b?)(b+)b{3}'''
159input = '''aaabbbbbbb'''
160matches = [[0, 10]]
161
162[[tests]]
163name = "basic30"
164options = ['escaped']
165pattern = '''(a*)(b{0,1})(b{1,})b{3}'''
166input = '''aaabbbbbbb'''
167matches = [[0, 10]]
168
169[[tests]]
170name = "basic32"
171options = ['escaped']
172pattern = '''((a|a)|a)'''
173input = '''a'''
174matches = [[0, 1]]
175
176[[tests]]
177name = "basic33"
178options = ['escaped']
179pattern = '''(a*)(a|aa)'''
180input = '''aaaa'''
181matches = [[0, 4]]
182
183[[tests]]
184name = "basic34"
185options = ['escaped']
186pattern = '''a*(a.|aa)'''
187input = '''aaaa'''
188matches = [[0, 4]]
189
190[[tests]]
191name = "basic35"
192options = ['escaped']
193pattern = '''a(b)|c(d)|a(e)f'''
194input = '''aef'''
195matches = [[0, 3]]
196
197[[tests]]
198name = "basic36"
199options = ['escaped']
200pattern = '''(a|b)?.*'''
201input = '''b'''
202matches = [[0, 1]]
203
204[[tests]]
205name = "basic37"
206options = ['escaped']
207pattern = '''(a|b)c|a(b|c)'''
208input = '''ac'''
209matches = [[0, 2]]
210
211[[tests]]
212name = "basic38"
213options = ['escaped']
214pattern = '''(a|b)c|a(b|c)'''
215input = '''ab'''
216matches = [[0, 2]]
217
218[[tests]]
219name = "basic39"
220options = ['escaped']
221pattern = '''(a|b)*c|(a|ab)*c'''
222input = '''abc'''
223matches = [[0, 3]]
224
225[[tests]]
226name = "basic40"
227options = ['escaped']
228pattern = '''(a|b)*c|(a|ab)*c'''
229input = '''xc'''
230matches = [[1, 2]]
231
232[[tests]]
233name = "basic41"
234options = ['escaped']
235pattern = '''(.a|.b).*|.*(.a|.b)'''
236input = '''xa'''
237matches = [[0, 2]]
238
239[[tests]]
240name = "basic42"
241options = ['escaped']
242pattern = '''a?(ab|ba)ab'''
243input = '''abab'''
244matches = [[0, 4]]
245
246[[tests]]
247name = "basic43"
248options = ['escaped']
249pattern = '''a?(ac{0}b|ba)ab'''
250input = '''abab'''
251matches = [[0, 4]]
252
253[[tests]]
254name = "basic44"
255options = ['escaped']
256pattern = '''ab|abab'''
257input = '''abbabab'''
258matches = [[0, 2]]
259
260[[tests]]
261name = "basic45"
262options = ['escaped']
263pattern = '''aba|bab|bba'''
264input = '''baaabbbaba'''
265matches = [[5, 8]]
266
267[[tests]]
268name = "basic46"
269options = ['escaped']
270pattern = '''aba|bab'''
271input = '''baaabbbaba'''
272matches = [[6, 9]]
273
274[[tests]]
275name = "basic47"
276options = ['escaped']
277pattern = '''(aa|aaa)*|(a|aaaaa)'''
278input = '''aa'''
279matches = [[0, 2]]
280
281[[tests]]
282name = "basic48"
283options = ['escaped']
284pattern = '''(a.|.a.)*|(a|.a...)'''
285input = '''aa'''
286matches = [[0, 2]]
287
288[[tests]]
289name = "basic49"
290options = ['escaped']
291pattern = '''ab|a'''
292input = '''xabc'''
293matches = [[1, 3]]
294
295[[tests]]
296name = "basic50"
297options = ['escaped']
298pattern = '''ab|a'''
299input = '''xxabc'''
300matches = [[2, 4]]
301
302[[tests]]
303name = "basic51"
304options = ['escaped', 'case-insensitive']
305pattern = '''(Ab|cD)*'''
306input = '''aBcD'''
307matches = [[0, 4]]
308
309[[tests]]
310name = "basic52"
311options = ['escaped']
312pattern = '''[^-]'''
313input = '''--a'''
314matches = [[2, 3]]
315
316[[tests]]
317name = "basic53"
318options = ['escaped']
319pattern = '''[a-]*'''
320input = '''--a'''
321matches = [[0, 3]]
322
323[[tests]]
324name = "basic54"
325options = ['escaped']
326pattern = '''[a-m-]*'''
327input = '''--amoma--'''
328matches = [[0, 4]]
329
330[[tests]]
331name = "basic55"
332options = ['escaped']
333pattern = ''':::1:::0:|:::1:1:0:'''
334input = ''':::0:::1:::1:::0:'''
335matches = [[8, 17]]
336
337[[tests]]
338name = "basic56"
339options = ['escaped']
340pattern = ''':::1:::0:|:::1:1:1:'''
341input = ''':::0:::1:::1:::0:'''
342matches = [[8, 17]]
343
344[[tests]]
345name = "basic57"
346options = ['escaped']
347pattern = '''[[:upper:]]'''
348input = '''A'''
349matches = [[0, 1]]
350
351[[tests]]
352name = "basic58"
353options = ['escaped']
354pattern = '''[[:lower:]]+'''
355input = '''`az{'''
356matches = [[1, 3]]
357
358[[tests]]
359name = "basic59"
360options = ['escaped']
361pattern = '''[[:upper:]]+'''
362input = '''@AZ['''
363matches = [[1, 3]]
364
365[[tests]]
366name = "basic65"
367options = ['escaped']
368pattern = '''\n'''
369input = '''\n'''
370matches = [[0, 1]]
371
372[[tests]]
373name = "basic66"
374options = ['escaped']
375pattern = '''\n'''
376input = '''\n'''
377matches = [[0, 1]]
378
379[[tests]]
380name = "basic67"
381options = ['escaped']
382pattern = '''[^a]'''
383input = '''\n'''
384matches = [[0, 1]]
385
386[[tests]]
387name = "basic68"
388options = ['escaped']
389pattern = '''\na'''
390input = '''\na'''
391matches = [[0, 2]]
392
393[[tests]]
394name = "basic69"
395options = ['escaped']
396pattern = '''(a)(b)(c)'''
397input = '''abc'''
398matches = [[0, 3]]
399
400[[tests]]
401name = "basic70"
402options = ['escaped']
403pattern = '''xxx'''
404input = '''xxx'''
405matches = [[0, 3]]
406
407[[tests]]
408name = "basic71"
409options = ['escaped']
410pattern = '''(^|[ (,;])((([Ff]eb[^ ]* *|0*2/|\* */?)0*[6-7]))([^0-9]|$)'''
411input = '''feb 6,'''
412matches = [[0, 6]]
413
414[[tests]]
415name = "basic72"
416options = ['escaped']
417pattern = '''(^|[ (,;])((([Ff]eb[^ ]* *|0*2/|\* */?)0*[6-7]))([^0-9]|$)'''
418input = '''2/7'''
419matches = [[0, 3]]
420
421[[tests]]
422name = "basic73"
423options = ['escaped']
424pattern = '''(^|[ (,;])((([Ff]eb[^ ]* *|0*2/|\* */?)0*[6-7]))([^0-9]|$)'''
425input = '''feb 1,Feb 6'''
426matches = [[5, 11]]
427
428[[tests]]
429name = "basic74"
430options = ['escaped']
431pattern = '''((((((((((((((((((((((((((((((x))))))))))))))))))))))))))))))'''
432input = '''x'''
433matches = [[0, 1]]
434
435[[tests]]
436name = "basic75"
437options = ['escaped']
438pattern = '''((((((((((((((((((((((((((((((x))))))))))))))))))))))))))))))*'''
439input = '''xx'''
440matches = [[0, 2]]
441
442[[tests]]
443name = "basic76"
444options = ['escaped']
445pattern = '''a?(ab|ba)*'''
446input = '''ababababababababababababababababababababababababababababababababababababababababa'''
447matches = [[0, 81]]
448
449[[tests]]
450name = "basic77"
451options = ['escaped']
452pattern = '''abaa|abbaa|abbbaa|abbbbaa'''
453input = '''ababbabbbabbbabbbbabbbbaa'''
454matches = [[18, 25]]
455
456[[tests]]
457name = "basic78"
458options = ['escaped']
459pattern = '''abaa|abbaa|abbbaa|abbbbaa'''
460input = '''ababbabbbabbbabbbbabaa'''
461matches = [[18, 22]]
462
463[[tests]]
464name = "basic79"
465options = ['escaped']
466pattern = '''aaac|aabc|abac|abbc|baac|babc|bbac|bbbc'''
467input = '''baaabbbabac'''
468matches = [[7, 11]]
469
470[[tests]]
471name = "basic80"
472options = ['escaped']
473pattern = '''.*'''
474input = '''\x01\x7f'''
475matches = [[0, 2]]
476
477[[tests]]
478name = "basic81"
479options = ['escaped']
480pattern = '''aaaa|bbbb|cccc|ddddd|eeeeee|fffffff|gggg|hhhh|iiiii|jjjjj|kkkkk|llll'''
481input = '''XaaaXbbbXcccXdddXeeeXfffXgggXhhhXiiiXjjjXkkkXlllXcbaXaaaa'''
482matches = [[53, 57]]
483
484[[tests]]
485name = "basic83"
486options = ['escaped']
487pattern = '''a*a*a*a*a*b'''
488input = '''aaaaaaaaab'''
489matches = [[0, 10]]
490
491[[tests]]
492name = "basic84"
493options = ['escaped']
494pattern = '''^'''
495input = ''''''
496matches = [[0, 0]]
497
498[[tests]]
499name = "basic85"
500options = ['escaped']
501pattern = '''$'''
502input = ''''''
503matches = [[0, 0]]
504
505[[tests]]
506name = "basic86"
507options = ['escaped']
508pattern = '''^$'''
509input = ''''''
510matches = [[0, 0]]
511
512[[tests]]
513name = "basic87"
514options = ['escaped']
515pattern = '''^a$'''
516input = '''a'''
517matches = [[0, 1]]
518
519[[tests]]
520name = "basic88"
521options = ['escaped']
522pattern = '''abc'''
523input = '''abc'''
524matches = [[0, 3]]
525
526[[tests]]
527name = "basic89"
528options = ['escaped']
529pattern = '''abc'''
530input = '''xabcy'''
531matches = [[1, 4]]
532
533[[tests]]
534name = "basic90"
535options = ['escaped']
536pattern = '''abc'''
537input = '''ababc'''
538matches = [[2, 5]]
539
540[[tests]]
541name = "basic91"
542options = ['escaped']
543pattern = '''ab*c'''
544input = '''abc'''
545matches = [[0, 3]]
546
547[[tests]]
548name = "basic92"
549options = ['escaped']
550pattern = '''ab*bc'''
551input = '''abc'''
552matches = [[0, 3]]
553
554[[tests]]
555name = "basic93"
556options = ['escaped']
557pattern = '''ab*bc'''
558input = '''abbc'''
559matches = [[0, 4]]
560
561[[tests]]
562name = "basic94"
563options = ['escaped']
564pattern = '''ab*bc'''
565input = '''abbbbc'''
566matches = [[0, 6]]
567
568[[tests]]
569name = "basic95"
570options = ['escaped']
571pattern = '''ab+bc'''
572input = '''abbc'''
573matches = [[0, 4]]
574
575[[tests]]
576name = "basic96"
577options = ['escaped']
578pattern = '''ab+bc'''
579input = '''abbbbc'''
580matches = [[0, 6]]
581
582[[tests]]
583name = "basic97"
584options = ['escaped']
585pattern = '''ab?bc'''
586input = '''abbc'''
587matches = [[0, 4]]
588
589[[tests]]
590name = "basic98"
591options = ['escaped']
592pattern = '''ab?bc'''
593input = '''abc'''
594matches = [[0, 3]]
595
596[[tests]]
597name = "basic99"
598options = ['escaped']
599pattern = '''ab?c'''
600input = '''abc'''
601matches = [[0, 3]]
602
603[[tests]]
604name = "basic100"
605options = ['escaped']
606pattern = '''^abc$'''
607input = '''abc'''
608matches = [[0, 3]]
609
610[[tests]]
611name = "basic101"
612options = ['escaped']
613pattern = '''^abc'''
614input = '''abcc'''
615matches = [[0, 3]]
616
617[[tests]]
618name = "basic102"
619options = ['escaped']
620pattern = '''abc$'''
621input = '''aabc'''
622matches = [[1, 4]]
623
624[[tests]]
625name = "basic103"
626options = ['escaped']
627pattern = '''^'''
628input = '''abc'''
629matches = [[0, 0]]
630
631[[tests]]
632name = "basic104"
633options = ['escaped']
634pattern = '''$'''
635input = '''abc'''
636matches = [[3, 3]]
637
638[[tests]]
639name = "basic105"
640options = ['escaped']
641pattern = '''a.c'''
642input = '''abc'''
643matches = [[0, 3]]
644
645[[tests]]
646name = "basic106"
647options = ['escaped']
648pattern = '''a.c'''
649input = '''axc'''
650matches = [[0, 3]]
651
652[[tests]]
653name = "basic107"
654options = ['escaped']
655pattern = '''a.*c'''
656input = '''axyzc'''
657matches = [[0, 5]]
658
659[[tests]]
660name = "basic108"
661options = ['escaped']
662pattern = '''a[bc]d'''
663input = '''abd'''
664matches = [[0, 3]]
665
666[[tests]]
667name = "basic109"
668options = ['escaped']
669pattern = '''a[b-d]e'''
670input = '''ace'''
671matches = [[0, 3]]
672
673[[tests]]
674name = "basic110"
675options = ['escaped']
676pattern = '''a[b-d]'''
677input = '''aac'''
678matches = [[1, 3]]
679
680[[tests]]
681name = "basic111"
682options = ['escaped']
683pattern = '''a[-b]'''
684input = '''a-'''
685matches = [[0, 2]]
686
687[[tests]]
688name = "basic112"
689options = ['escaped']
690pattern = '''a[b-]'''
691input = '''a-'''
692matches = [[0, 2]]
693
694[[tests]]
695name = "basic113"
696options = ['escaped']
697pattern = '''a]'''
698input = '''a]'''
699matches = [[0, 2]]
700
701[[tests]]
702name = "basic114"
703options = ['escaped']
704pattern = '''a[]]b'''
705input = '''a]b'''
706matches = [[0, 3]]
707
708[[tests]]
709name = "basic115"
710options = ['escaped']
711pattern = '''a[^bc]d'''
712input = '''aed'''
713matches = [[0, 3]]
714
715[[tests]]
716name = "basic116"
717options = ['escaped']
718pattern = '''a[^-b]c'''
719input = '''adc'''
720matches = [[0, 3]]
721
722[[tests]]
723name = "basic117"
724options = ['escaped']
725pattern = '''a[^]b]c'''
726input = '''adc'''
727matches = [[0, 3]]
728
729[[tests]]
730name = "basic118"
731options = ['escaped']
732pattern = '''ab|cd'''
733input = '''abc'''
734matches = [[0, 2]]
735
736[[tests]]
737name = "basic119"
738options = ['escaped']
739pattern = '''ab|cd'''
740input = '''abcd'''
741matches = [[0, 2]]
742
743[[tests]]
744name = "basic120"
745options = ['escaped']
746pattern = '''a\(b'''
747input = '''a(b'''
748matches = [[0, 3]]
749
750[[tests]]
751name = "basic121"
752options = ['escaped']
753pattern = '''a\(*b'''
754input = '''ab'''
755matches = [[0, 2]]
756
757[[tests]]
758name = "basic122"
759options = ['escaped']
760pattern = '''a\(*b'''
761input = '''a((b'''
762matches = [[0, 4]]
763
764[[tests]]
765name = "basic123"
766options = ['escaped']
767pattern = '''((a))'''
768input = '''abc'''
769matches = [[0, 1]]
770
771[[tests]]
772name = "basic124"
773options = ['escaped']
774pattern = '''(a)b(c)'''
775input = '''abc'''
776matches = [[0, 3]]
777
778[[tests]]
779name = "basic125"
780options = ['escaped']
781pattern = '''a+b+c'''
782input = '''aabbabc'''
783matches = [[4, 7]]
784
785[[tests]]
786name = "basic126"
787options = ['escaped']
788pattern = '''a*'''
789input = '''aaa'''
790matches = [[0, 3]]
791
792[[tests]]
793name = "basic128"
794options = ['escaped']
795pattern = '''(a*)*'''
796input = '''-'''
797matches = [[0, 0]]
798
799[[tests]]
800name = "basic129"
801options = ['escaped']
802pattern = '''(a*)+'''
803input = '''-'''
804matches = [[0, 0]]
805
806[[tests]]
807name = "basic131"
808options = ['escaped']
809pattern = '''(a*|b)*'''
810input = '''-'''
811matches = [[0, 0]]
812
813[[tests]]
814name = "basic132"
815options = ['escaped']
816pattern = '''(a+|b)*'''
817input = '''ab'''
818matches = [[0, 2]]
819
820[[tests]]
821name = "basic133"
822options = ['escaped']
823pattern = '''(a+|b)+'''
824input = '''ab'''
825matches = [[0, 2]]
826
827[[tests]]
828name = "basic134"
829options = ['escaped']
830pattern = '''(a+|b)?'''
831input = '''ab'''
832matches = [[0, 1]]
833
834[[tests]]
835name = "basic135"
836options = ['escaped']
837pattern = '''[^ab]*'''
838input = '''cde'''
839matches = [[0, 3]]
840
841[[tests]]
842name = "basic137"
843options = ['escaped']
844pattern = '''(^)*'''
845input = '''-'''
846matches = [[0, 0]]
847
848[[tests]]
849name = "basic138"
850options = ['escaped']
851pattern = '''a*'''
852input = ''''''
853matches = [[0, 0]]
854
855[[tests]]
856name = "basic139"
857options = ['escaped']
858pattern = '''([abc])*d'''
859input = '''abbbcd'''
860matches = [[0, 6]]
861
862[[tests]]
863name = "basic140"
864options = ['escaped']
865pattern = '''([abc])*bcd'''
866input = '''abcd'''
867matches = [[0, 4]]
868
869[[tests]]
870name = "basic141"
871options = ['escaped']
872pattern = '''a|b|c|d|e'''
873input = '''e'''
874matches = [[0, 1]]
875
876[[tests]]
877name = "basic142"
878options = ['escaped']
879pattern = '''(a|b|c|d|e)f'''
880input = '''ef'''
881matches = [[0, 2]]
882
883[[tests]]
884name = "basic144"
885options = ['escaped']
886pattern = '''((a*|b))*'''
887input = '''-'''
888matches = [[0, 0]]
889
890[[tests]]
891name = "basic145"
892options = ['escaped']
893pattern = '''abcd*efg'''
894input = '''abcdefg'''
895matches = [[0, 7]]
896
897[[tests]]
898name = "basic146"
899options = ['escaped']
900pattern = '''ab*'''
901input = '''xabyabbbz'''
902matches = [[1, 3]]
903
904[[tests]]
905name = "basic147"
906options = ['escaped']
907pattern = '''ab*'''
908input = '''xayabbbz'''
909matches = [[1, 2]]
910
911[[tests]]
912name = "basic148"
913options = ['escaped']
914pattern = '''(ab|cd)e'''
915input = '''abcde'''
916matches = [[2, 5]]
917
918[[tests]]
919name = "basic149"
920options = ['escaped']
921pattern = '''[abhgefdc]ij'''
922input = '''hij'''
923matches = [[0, 3]]
924
925[[tests]]
926name = "basic150"
927options = ['escaped']
928pattern = '''(a|b)c*d'''
929input = '''abcd'''
930matches = [[1, 4]]
931
932[[tests]]
933name = "basic151"
934options = ['escaped']
935pattern = '''(ab|ab*)bc'''
936input = '''abc'''
937matches = [[0, 3]]
938
939[[tests]]
940name = "basic152"
941options = ['escaped']
942pattern = '''a([bc]*)c*'''
943input = '''abc'''
944matches = [[0, 3]]
945
946[[tests]]
947name = "basic153"
948options = ['escaped']
949pattern = '''a([bc]*)(c*d)'''
950input = '''abcd'''
951matches = [[0, 4]]
952
953[[tests]]
954name = "basic154"
955options = ['escaped']
956pattern = '''a([bc]+)(c*d)'''
957input = '''abcd'''
958matches = [[0, 4]]
959
960[[tests]]
961name = "basic155"
962options = ['escaped']
963pattern = '''a([bc]*)(c+d)'''
964input = '''abcd'''
965matches = [[0, 4]]
966
967[[tests]]
968name = "basic156"
969options = ['escaped']
970pattern = '''a[bcd]*dcdcde'''
971input = '''adcdcde'''
972matches = [[0, 7]]
973
974[[tests]]
975name = "basic157"
976options = ['escaped']
977pattern = '''(ab|a)b*c'''
978input = '''abc'''
979matches = [[0, 3]]
980
981[[tests]]
982name = "basic158"
983options = ['escaped']
984pattern = '''((a)(b)c)(d)'''
985input = '''abcd'''
986matches = [[0, 4]]
987
988[[tests]]
989name = "basic159"
990options = ['escaped']
991pattern = '''[A-Za-z_][A-Za-z0-9_]*'''
992input = '''alpha'''
993matches = [[0, 5]]
994
995[[tests]]
996name = "basic160"
997options = ['escaped']
998pattern = '''^a(bc+|b[eh])g|.h$'''
999input = '''abh'''
1000matches = [[1, 3]]
1001
1002[[tests]]
1003name = "basic161"
1004options = ['escaped']
1005pattern = '''(bc+d$|ef*g.|h?i(j|k))'''
1006input = '''effgz'''
1007matches = [[0, 5]]
1008
1009[[tests]]
1010name = "basic162"
1011options = ['escaped']
1012pattern = '''(bc+d$|ef*g.|h?i(j|k))'''
1013input = '''ij'''
1014matches = [[0, 2]]
1015
1016[[tests]]
1017name = "basic163"
1018options = ['escaped']
1019pattern = '''(bc+d$|ef*g.|h?i(j|k))'''
1020input = '''reffgz'''
1021matches = [[1, 6]]
1022
1023[[tests]]
1024name = "basic164"
1025options = ['escaped']
1026pattern = '''(((((((((a)))))))))'''
1027input = '''a'''
1028matches = [[0, 1]]
1029
1030[[tests]]
1031name = "basic165"
1032options = ['escaped']
1033pattern = '''multiple words'''
1034input = '''multiple words yeah'''
1035matches = [[0, 14]]
1036
1037[[tests]]
1038name = "basic166"
1039options = ['escaped']
1040pattern = '''(.*)c(.*)'''
1041input = '''abcde'''
1042matches = [[0, 5]]
1043
1044[[tests]]
1045name = "basic167"
1046options = ['escaped']
1047pattern = '''abcd'''
1048input = '''abcd'''
1049matches = [[0, 4]]
1050
1051[[tests]]
1052name = "basic168"
1053options = ['escaped']
1054pattern = '''a(bc)d'''
1055input = '''abcd'''
1056matches = [[0, 4]]
1057
1058[[tests]]
1059name = "basic169"
1060options = ['escaped']
1061pattern = '''a[\x01-\x03]?c'''
1062input = '''a\x02c'''
1063matches = [[0, 3]]
1064
1065[[tests]]
1066name = "basic170"
1067options = ['escaped']
1068pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1069input = '''Muammar Qaddafi'''
1070matches = [[0, 15]]
1071
1072[[tests]]
1073name = "basic171"
1074options = ['escaped']
1075pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1076input = '''Mo'ammar Gadhafi'''
1077matches = [[0, 16]]
1078
1079[[tests]]
1080name = "basic172"
1081options = ['escaped']
1082pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1083input = '''Muammar Kaddafi'''
1084matches = [[0, 15]]
1085
1086[[tests]]
1087name = "basic173"
1088options = ['escaped']
1089pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1090input = '''Muammar Qadhafi'''
1091matches = [[0, 15]]
1092
1093[[tests]]
1094name = "basic174"
1095options = ['escaped']
1096pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1097input = '''Muammar Gadafi'''
1098matches = [[0, 14]]
1099
1100[[tests]]
1101name = "basic175"
1102options = ['escaped']
1103pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1104input = '''Mu'ammar Qadafi'''
1105matches = [[0, 15]]
1106
1107[[tests]]
1108name = "basic176"
1109options = ['escaped']
1110pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1111input = '''Moamar Gaddafi'''
1112matches = [[0, 14]]
1113
1114[[tests]]
1115name = "basic177"
1116options = ['escaped']
1117pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1118input = '''Mu'ammar Qadhdhafi'''
1119matches = [[0, 18]]
1120
1121[[tests]]
1122name = "basic178"
1123options = ['escaped']
1124pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1125input = '''Muammar Khaddafi'''
1126matches = [[0, 16]]
1127
1128[[tests]]
1129name = "basic179"
1130options = ['escaped']
1131pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1132input = '''Muammar Ghaddafy'''
1133matches = [[0, 16]]
1134
1135[[tests]]
1136name = "basic180"
1137options = ['escaped']
1138pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1139input = '''Muammar Ghadafi'''
1140matches = [[0, 15]]
1141
1142[[tests]]
1143name = "basic181"
1144options = ['escaped']
1145pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1146input = '''Muammar Ghaddafi'''
1147matches = [[0, 16]]
1148
1149[[tests]]
1150name = "basic182"
1151options = ['escaped']
1152pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1153input = '''Muamar Kaddafi'''
1154matches = [[0, 14]]
1155
1156[[tests]]
1157name = "basic183"
1158options = ['escaped']
1159pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1160input = '''Muammar Quathafi'''
1161matches = [[0, 16]]
1162
1163[[tests]]
1164name = "basic184"
1165options = ['escaped']
1166pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1167input = '''Muammar Gheddafi'''
1168matches = [[0, 16]]
1169
1170[[tests]]
1171name = "basic185"
1172options = ['escaped']
1173pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1174input = '''Moammar Khadafy'''
1175matches = [[0, 15]]
1176
1177[[tests]]
1178name = "basic186"
1179options = ['escaped']
1180pattern = '''M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]'''
1181input = '''Moammar Qudhafi'''
1182matches = [[0, 15]]
1183
1184[[tests]]
1185name = "basic187"
1186options = ['escaped']
1187pattern = '''a+(b|c)*d+'''
1188input = '''aabcdd'''
1189matches = [[0, 6]]
1190
1191[[tests]]
1192name = "basic188"
1193options = ['escaped']
1194pattern = '''^.+$'''
1195input = '''vivi'''
1196matches = [[0, 4]]
1197
1198[[tests]]
1199name = "basic189"
1200options = ['escaped']
1201pattern = '''^(.+)$'''
1202input = '''vivi'''
1203matches = [[0, 4]]
1204
1205[[tests]]
1206name = "basic190"
1207options = ['escaped']
1208pattern = '''^([^!.]+).att.com!(.+)$'''
1209input = '''gryphon.att.com!eby'''
1210matches = [[0, 19]]
1211
1212[[tests]]
1213name = "basic191"
1214options = ['escaped']
1215pattern = '''^([^!]+!)?([^!]+)$'''
1216input = '''bas'''
1217matches = [[0, 3]]
1218
1219[[tests]]
1220name = "basic192"
1221options = ['escaped']
1222pattern = '''^([^!]+!)?([^!]+)$'''
1223input = '''bar!bas'''
1224matches = [[0, 7]]
1225
1226[[tests]]
1227name = "basic193"
1228options = ['escaped']
1229pattern = '''^([^!]+!)?([^!]+)$'''
1230input = '''foo!bas'''
1231matches = [[0, 7]]
1232
1233[[tests]]
1234name = "basic194"
1235options = ['escaped']
1236pattern = '''^.+!([^!]+!)([^!]+)$'''
1237input = '''foo!bar!bas'''
1238matches = [[0, 11]]
1239
1240[[tests]]
1241name = "basic195"
1242options = ['escaped']
1243pattern = '''((foo)|(bar))!bas'''
1244input = '''bar!bas'''
1245matches = [[0, 7]]
1246
1247[[tests]]
1248name = "basic196"
1249options = ['escaped']
1250pattern = '''((foo)|(bar))!bas'''
1251input = '''foo!bar!bas'''
1252matches = [[4, 11]]
1253
1254[[tests]]
1255name = "basic197"
1256options = ['escaped']
1257pattern = '''((foo)|(bar))!bas'''
1258input = '''foo!bas'''
1259matches = [[0, 7]]
1260
1261[[tests]]
1262name = "basic198"
1263options = ['escaped']
1264pattern = '''((foo)|bar)!bas'''
1265input = '''bar!bas'''
1266matches = [[0, 7]]
1267
1268[[tests]]
1269name = "basic199"
1270options = ['escaped']
1271pattern = '''((foo)|bar)!bas'''
1272input = '''foo!bar!bas'''
1273matches = [[4, 11]]
1274
1275[[tests]]
1276name = "basic200"
1277options = ['escaped']
1278pattern = '''((foo)|bar)!bas'''
1279input = '''foo!bas'''
1280matches = [[0, 7]]
1281
1282[[tests]]
1283name = "basic201"
1284options = ['escaped']
1285pattern = '''(foo|(bar))!bas'''
1286input = '''bar!bas'''
1287matches = [[0, 7]]
1288
1289[[tests]]
1290name = "basic202"
1291options = ['escaped']
1292pattern = '''(foo|(bar))!bas'''
1293input = '''foo!bar!bas'''
1294matches = [[4, 11]]
1295
1296[[tests]]
1297name = "basic203"
1298options = ['escaped']
1299pattern = '''(foo|(bar))!bas'''
1300input = '''foo!bas'''
1301matches = [[0, 7]]
1302
1303[[tests]]
1304name = "basic204"
1305options = ['escaped']
1306pattern = '''(foo|bar)!bas'''
1307input = '''bar!bas'''
1308matches = [[0, 7]]
1309
1310[[tests]]
1311name = "basic205"
1312options = ['escaped']
1313pattern = '''(foo|bar)!bas'''
1314input = '''foo!bar!bas'''
1315matches = [[4, 11]]
1316
1317[[tests]]
1318name = "basic206"
1319options = ['escaped']
1320pattern = '''(foo|bar)!bas'''
1321input = '''foo!bas'''
1322matches = [[0, 7]]
1323
1324[[tests]]
1325name = "basic207"
1326options = ['escaped']
1327pattern = '''^(([^!]+!)?([^!]+)|.+!([^!]+!)([^!]+))$'''
1328input = '''foo!bar!bas'''
1329matches = [[0, 11]]
1330
1331[[tests]]
1332name = "basic208"
1333options = ['escaped']
1334pattern = '''^([^!]+!)?([^!]+)$|^.+!([^!]+!)([^!]+)$'''
1335input = '''bas'''
1336matches = [[0, 3]]
1337
1338[[tests]]
1339name = "basic209"
1340options = ['escaped']
1341pattern = '''^([^!]+!)?([^!]+)$|^.+!([^!]+!)([^!]+)$'''
1342input = '''bar!bas'''
1343matches = [[0, 7]]
1344
1345[[tests]]
1346name = "basic210"
1347options = ['escaped']
1348pattern = '''^([^!]+!)?([^!]+)$|^.+!([^!]+!)([^!]+)$'''
1349input = '''foo!bar!bas'''
1350matches = [[0, 11]]
1351
1352[[tests]]
1353name = "basic211"
1354options = ['escaped']
1355pattern = '''^([^!]+!)?([^!]+)$|^.+!([^!]+!)([^!]+)$'''
1356input = '''foo!bas'''
1357matches = [[0, 7]]
1358
1359[[tests]]
1360name = "basic212"
1361options = ['escaped']
1362pattern = '''^(([^!]+!)?([^!]+)|.+!([^!]+!)([^!]+))$'''
1363input = '''bas'''
1364matches = [[0, 3]]
1365
1366[[tests]]
1367name = "basic213"
1368options = ['escaped']
1369pattern = '''^(([^!]+!)?([^!]+)|.+!([^!]+!)([^!]+))$'''
1370input = '''bar!bas'''
1371matches = [[0, 7]]
1372
1373[[tests]]
1374name = "basic214"
1375options = ['escaped']
1376pattern = '''^(([^!]+!)?([^!]+)|.+!([^!]+!)([^!]+))$'''
1377input = '''foo!bar!bas'''
1378matches = [[0, 11]]
1379
1380[[tests]]
1381name = "basic215"
1382options = ['escaped']
1383pattern = '''^(([^!]+!)?([^!]+)|.+!([^!]+!)([^!]+))$'''
1384input = '''foo!bas'''
1385matches = [[0, 7]]
1386
1387[[tests]]
1388name = "basic216"
1389options = ['escaped']
1390pattern = '''.*(/XXX).*'''
1391input = '''/XXX'''
1392matches = [[0, 4]]
1393
1394[[tests]]
1395name = "basic217"
1396options = ['escaped']
1397pattern = '''.*(\\XXX).*'''
1398input = '''\\XXX'''
1399matches = [[0, 4]]
1400
1401[[tests]]
1402name = "basic218"
1403options = ['escaped']
1404pattern = '''\\XXX'''
1405input = '''\\XXX'''
1406matches = [[0, 4]]
1407
1408[[tests]]
1409name = "basic219"
1410options = ['escaped']
1411pattern = '''.*(/000).*'''
1412input = '''/000'''
1413matches = [[0, 4]]
1414
1415[[tests]]
1416name = "basic220"
1417options = ['escaped']
1418pattern = '''.*(\\000).*'''
1419input = '''\\000'''
1420matches = [[0, 4]]
1421
1422[[tests]]
1423name = "basic221"
1424options = ['escaped']
1425pattern = '''\\000'''
1426input = '''\\000'''
1427matches = [[0, 4]]
1428
1429