preg_split, unlike split, takes a pattern with slashes.
Merge pull request #17 from ThomasGirard/master

preg_split, unlike split, takes a pattern with slashes.