Add initial regex support, and some additional string functions.