if (matcher.find()) {
Long idBrowser = entry.getValue();
BrowserEntry be = browserMap.get(idBrowser);
if (be != null) {
retObj.setType(browserTypeMap.get(be.getType()));;
if (matcher.groupCount() > 1) {
retObj.setBrowserVersionInfo(matcher.group(1));
}
retObj.setBrowserEntry(be);
}
// check if this browser has exactly one OS mapped