Fix error with regex functions, update version