Definition at line 543 of file yaml_decoders.cc.
|
| static bool | decode (const Node &node, string_or_regex &rhs) |
| |
◆ decode()
| static bool YAML::convert< string_or_regex >::decode |
( |
const Node & |
node, |
|
|
string_or_regex & |
rhs |
|
) |
| |
|
inlinestatic |
Definition at line 544 of file yaml_decoders.cc.
545 {
546 using namespace std::string_literals;
547 if (node.IsMap()) {
548 auto pattern = node["r"].as<std::string>();
549 auto rx = std::regex(pattern);
551 }
552 else {
554 }
555
556 return true;
557 }
The documentation for this struct was generated from the following file: