Fixed compile error when without pcre
Merge pull request #4 from flygoast/master

It looks good to me