| 60 | } |
| 61 | |
| 62 | static void |
| 63 | setPattern(MultiPattern &multiPattern, const char *arg) |
| 64 | { |
| 65 | Pattern *p = new Pattern(); |
| 66 | if (nullptr != p && p->init(arg)) { |
| 67 | multiPattern.add(p); |
| 68 | } else { |
| 69 | delete p; |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | bool |
| 74 | ConfigElements::setCapture(const String &name, const String &pattern) |
no test coverage detected