import java.util.regex.Pattern; class Test { static String[] regs = { "[A-Z\\d]++", "\\Q hello world [ *** \\Q ) ( \\E+", "[\\Q hi ] \\E]+", "[]]+", "[^]]+", "[abc[defg]]+", "[abc&&[\\W\\p{Lower}\\P{Space}\\N{degree sign}]]\\b7\\b{g}8+", "\\cA+", "\\c(+", "\\c\\(ab)+", "(?>hi)(?hell*?o*+)123\\k", "a+b*c?d{2}e{3,4}f{,5}g{6,}h+?i*?j??k{7}?l{8,9}?m{,10}?n{11,}?o++p*+q?+r{12}+s{13,14}+t{,15}+u{16,}+", "(?i)(?=a)(?!b)(?<=c)(?