Changed option specifier regex to be more readable
This commit is contained in:
parent
d53d9aa220
commit
2a73e710e6
@ -884,7 +884,7 @@ namespace cxxopts
|
|||||||
("--([[:alnum:]][-_[:alnum:]]+)(=(.*))?|-([[:alnum:]]+)");
|
("--([[:alnum:]][-_[:alnum:]]+)(=(.*))?|-([[:alnum:]]+)");
|
||||||
|
|
||||||
std::basic_regex<char> option_specifier
|
std::basic_regex<char> option_specifier
|
||||||
("(([[:alnum:]]),)?[ ]*([[:alnum:]][-_[:alnum:]]*)?");
|
("(([[:alnum:]]),)?\\s*([[:alnum:]][-_[:alnum:]]*)?");
|
||||||
|
|
||||||
String
|
String
|
||||||
format_option
|
format_option
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user