regex is now build dynamically
Revert "regex is now build dynamically"

This reverts commit 2ebba6c284c10af2108c79db543435da77f84ecd.
regex is now build dynamically