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