MINOR Remove extraneous call to preg_match

preg_match/preg_quote isn't useful here as far as I can see, and is expensive enough to be worth removing it.

I wasn't sure about the change from === to ==, but I believe it should be fine since it's an array key, meaning integer or string anyway.
As far I can tell, the preg_match did the same thing as the === anyway.