Fix logregex to be able to parse smaller ids

Fixes #2
Merge pull request #3 from mweibel/patch-1

Fix logregex to be able to parse smaller ids