SERVER-11143 Added support for specifying that a string option must be of a specified format