regex correction