change re pattern