Regex bugfix.
Merge pull request #7 from skobkin/master

Regex bugfix