Regexp utils that extends erlang re module.