regex fix
Merge pull request #4 from wanghaisheng/master

merge regex fix from wanghaisheng/master