update regexp reference