preg_split, unlike split, takes a pattern with slashes.

My pull request from yesterday broke search (it wasn't even subtle, don't know how I missed that). Sorry