808182838485868788
private boolean match(String text) { if (matcher==null) { return true; // Search term not set... anything is acceptable. } else { Position x = matcher.find(text, 0, text.length()); return x!=null; } }
208209210211212213214215216
if (matcher==null) { return true; // Search term not set... anything is acceptable. } else if (text==null) { return false; } else { Position x = matcher.find(text, 0, text.length()); return x!=null; } }