Add the new regex package.
Add a new convenience function.