| 59 | } |
| 60 | |
| 61 | const std::string CukeCommands::escapeCString(const std::string str) const { |
| 62 | return regex_replace( |
| 63 | str, |
| 64 | std::regex("[\"\\\\]"), |
| 65 | "\\\\&", |
| 66 | std::regex_constants::match_default | std::regex_constants::format_sed |
| 67 | ); |
| 68 | } |
| 69 | |
| 70 | MatchResult CukeCommands::stepMatches(const std::string description) const { |
| 71 | return StepManager::stepMatches(description); |
nothing calls this directly
no outgoing calls
no test coverage detected