I’m overdue (waaaay overdue) to releasing a new pattern in the Tools Series – so here is the Wrench.
This one is just slightly more challenging than the previous ones, only because some of the pieces are small. 34 more words
I have following:
private static List<Pattern> pats;
This list contains around 90 patterns that is instantiated before iteration. The patterns are complex, like:
System.out.println("pat: " + pats.get(0).toString()); // pat: \bsingle1\b|\bsingle2\b|(?=.*\bcombo1\b)(?=.*\bcombo2\b)|\bsingle3\b ...148 more words