new regex and user env setting