pop warning after including regex
disable warning
set locale automatically