Revert "Revert "regex""

This reverts commit b436351b98bf6578a3f28d4d8782335621080322.
Revert "regex"

This reverts commit 15cdfaa46f64831e4932ef9104d23f1254bd2ac2.