changed option from string to regex
Changed OptString to OptRegexp
Land #3186, OptString should be OptRegexp
Land #3187 - Changed OptString to OptRegexp