Update regexp and var definitions.