I had this same problem, try running this:
brew unlink pcre && brew link pcre
In my case, this was the output:Unlinking /usr/local/Cellar/pcre/8.35... 5 symlinks removedLinking /usr/local/Cellar/pcre/8.35... 133 symlinks created
Unlinking /usr/local/Cellar/pcre/8.35... 5 symlinks removedLinking /usr/local/Cellar/pcre/8.35... 133 symlinks created
Well, I don't know what causes the problem. I checked my pcre, and it was in latest version. Without option I just uninstall it and reinstall it again...Then it works...
Only thing that fixed it for me was reinstalling everything in brew.
https://gist.github.com/nmccready/adfae27c498e0795767f