complex.in revision 272343
1309583Sglebius# complexities 2309583Sglebiusa(((b)))c - abc abc 3309583Sglebiusa(b|(c))d - abd abd 4309583Sglebiusa(b*|c)d - abbd abbd 5309583Sglebius# just gotta have one DFA-buster, of course 6309583Sglebiusa[ab]{20} - aaaaabaaaabaaaabaaaab aaaaabaaaabaaaabaaaab 7309583Sglebius# and an inline expansion in case somebody gets tricky 8309583Sglebiusa[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab] - aaaaabaaaabaaaabaaaab aaaaabaaaabaaaabaaaab 9309583Sglebius# and in case somebody just slips in an NFA... 10309583Sglebiusa[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab](wee|week)(knights|night) - aaaaabaaaabaaaabaaaabweeknights aaaaabaaaabaaaabaaaabweeknights 11309583Sglebius# fish for anomalies as the number of states passes 32 12309583Sglebius12345678901234567890123456789 - a12345678901234567890123456789b 12345678901234567890123456789 13309583Sglebius123456789012345678901234567890 - a123456789012345678901234567890b 123456789012345678901234567890 14309583Sglebius1234567890123456789012345678901 - a1234567890123456789012345678901b 1234567890123456789012345678901 15309583Sglebius12345678901234567890123456789012 - a12345678901234567890123456789012b 12345678901234567890123456789012 16309583Sglebius123456789012345678901234567890123 - a123456789012345678901234567890123b 123456789012345678901234567890123 17309583Sglebius# and one really big one, beyond any plausible word width 18309583Sglebius1234567890123456789012345678901234567890123456789012345678901234567890 - a1234567890123456789012345678901234567890123456789012345678901234567890b 1234567890123456789012345678901234567890123456789012345678901234567890 19309583Sglebius# fish for problems as brackets go past 8 20309583Sglebius[ab][cd][ef][gh][ij][kl][mn] - xacegikmoq acegikm 21309583Sglebius[ab][cd][ef][gh][ij][kl][mn][op] - xacegikmoq acegikmo 22309583Sglebius[ab][cd][ef][gh][ij][kl][mn][op][qr] - xacegikmoqy acegikmoq 23309583Sglebius[ab][cd][ef][gh][ij][kl][mn][op][q] - xacegikmoqy acegikmoq 24309583Sglebius