use reg exp
Merge pull request #1 from madsheep/patch-1

use reg exp