fix string split, support regex

*WIP*, do not merge.

fix for #136