preg_match() strict equality

Use strict equality check when looking at return value of a `preg_match()` call.