Revert "regex"

This reverts commit 147c3d3cbc91993068532a6c2533f11fb1faf80b.