*/
@Override
protected void processBrowserRegex(String useragent, UserAgentInfo retObj) {
Set<Entry<Matcher, Long>> browserMatcherSet = getBrowserMatcherSet();
for (Map.Entry<Matcher, Long> entry : browserMatcherSet) {
Matcher matcher = entry.getKey();
matcher.setTarget(useragent);
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
Long idOs = browserOsMap.get(idBrowser);