Avoid using regexps when strpos() is enough

That's one hell of a crazy project you have here, mate.
Merge branch 'patch-1' of https://github.com/Nami-Doc/railsphp into nmp
Avoid using regexps, #6.