Change regexp condition to string contains.

For the bash without regexp support, for example git-bash console for Windows.