add .regex method