Support mode variables injected into regex's.