| 484 | } |
| 485 | |
| 486 | static void add_segment(vector<string> &segs, string s, bool trim, |
| 487 | bool accept_empty) |
| 488 | { |
| 489 | if (trim && !s.empty()) |
| 490 | trim_string(s); |
| 491 | |
| 492 | if (accept_empty || !s.empty()) |
| 493 | segs.push_back(s); |
| 494 | } |
| 495 | |
| 496 | set<size_t> find_escapes(const string &s) |
| 497 | { |
no test coverage detected