rendered paste body Pattern pattern = null;
Matcher matcher = null;
String regexp = null;
for(int x=0;x<registry_list.size();x++) {
for(int y=0;y<formularies_list.size();y++) {
regexp = "(.*)(\\.|\\-|,|\\(|\\|\\s)("+(String)formularies_list.get(y)+")(.*)$";
regexp = "(.*)("+(String)formularies_list.get(y)+")(\\.|\\-|,|\\(|\\)|\\s)(.*)$";
regexp = "(.*)(\")("+(String)formularies_list.get(y)+")(.*)$";
regexp = "(.*)("+(String)formularies_list.get(y)+")(\")(.*)$";
pattern = Pattern.compile(regexp);
matcher = pattern.matcher((String)registry_list.get(x));
if(matcher.matches()) {
results_list.add(registry_list.get(x));
break;
}
}
}