Definition at line 516 of file yaml_decoders.cc.
|
static bool | decode (const Node &node, namespace_or_regex &rhs) |
|
◆ decode()
static bool YAML::convert< namespace_or_regex >::decode |
( |
const Node & |
node, |
|
|
namespace_or_regex & |
rhs |
|
) |
| |
|
inlinestatic |
Definition at line 517 of file yaml_decoders.cc.
518 {
519 using namespace std::string_literals;
520 if (node.IsMap()) {
521 auto pattern = node["r"].as<std::string>();
522 auto rx = std::regex(pattern);
524 }
525 else {
527 }
528
529 return true;
530 }
The documentation for this struct was generated from the following file: