Fix logregex to be able to parse smaller ids

Fixes #2