generateInvalidValue
Generates a string that does NOT match the given pattern.
The generator uses PatternGenerationOptions.spaceChars for \s matching and PatternGenerationOptions.anyPrintableChars for . matching in the non-matching generator.
Return
a string not matching the pattern, or null if generation fails
Parameters
pattern
ECMA-262 regular expression pattern
minLength
minimum length constraint from schema (nullable, used for hint)
maxLength
maximum length constraint from schema (nullable, used for hint)