Additional regex functions, still untested