clap/tests/fixtures
Benjamin Kästner 8cb9a7d486 Add new "regex" feature
This commit introduces a new feature called `"regex"`. It adds a new
function `validator_regex` to `Arg` and was inspired by the discussion
in #1968. The name `validator_regex` was chosen instead of
`regex_validator` to make sure that the developer keeps in mind that
there may only be a single `Validator` on an `Arg`.

The feature can be used with YAML files, however there is no proper
pattern in `clap_app!` (yet).
2020-08-26 17:54:54 +02:00
..
app.yaml Arg::required_if => required_if_eq 2020-08-15 20:38:55 +03:00
app_2space.yaml style: replacing yml with yaml for consistency 2020-07-20 20:58:34 -03:00
app_regex.yaml Add new "regex" feature 2020-08-26 17:54:54 +02:00
app_regex_invalid.yaml Add new "regex" feature 2020-08-26 17:54:54 +02:00