Fix logregex to be able to parse even smaller ids