Change regexp search method

I fixed #126.