mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 09:59:03 +02:00
cxxopts: fix option_matcher regex
This commit is contained in:
+1
-1
@@ -1453,7 +1453,7 @@ namespace cxxopts
|
||||
constexpr int OPTION_DESC_GAP = 2;
|
||||
|
||||
std::basic_regex<char> option_matcher
|
||||
("--([[:alnum:]][-_[:alnum:]]+)(=(.*))?|-([[:alnum:]]+)");
|
||||
("--([[:alnum:]][-_[:alnum:]]+)(=(.*))?|-([_[:alnum:]]+)");
|
||||
|
||||
std::basic_regex<char> option_specifier
|
||||
("(([[:alnum:]]),)?[ ]*([[:alnum:]][-_[:alnum:]]*)?");
|
||||
|
||||
Reference in New Issue
Block a user