New (InvalidRegex constructor)