Move regex dependency to crates.io

The in-tree version is now deprecated.