rename regexp variable names