Doesn't look too important, but in the \d.\d part of this regex the . character will match one of any character. You should escape it like \. if you mean a literal period.