Why not just use this instead of the `preg_match()` on line 162?