| 105 | } |
| 106 | |
| 107 | static std::string trunc(const StringPiece& pattern) { |
| 108 | if (pattern.size() < 100) |
| 109 | return std::string(pattern); |
| 110 | return std::string(pattern.substr(0, 100)) + "..."; |
| 111 | } |
| 112 | |
| 113 | |
| 114 | RE2::RE2(const char* pattern) { |
no test coverage detected