Pcre split

Piggy backing on the good work from @c-cube