Proper regex support.
Merge pull request #1 from xaviershay/regexp

Proper regex support.