jcommander
jcommander copied to clipboard
Regex validator
Hi there!
Do you have a plans to support regex validator?
@Parameter(names = "-v", description = "version:1.0 or 2.0", regex = "(2\\.0|1\\.0)")
if you are interested in this features, i will try to submit a pull request. Otherwise I'll keep using the implementClass of IParameterValidator2 .