| 167 | } |
| 168 | |
| 169 | void RegEx::ClearMatch() |
| 170 | { |
| 171 | // Clears match results |
| 172 | mErrorOffset = 0; |
| 173 | mErrorCode = 0; |
| 174 | mError = nullptr; |
| 175 | if (subject) |
| 176 | free(subject); |
| 177 | subject = nullptr; |
| 178 | mMatchCount = 0; |
| 179 | } |
| 180 | |
| 181 | bool RegEx::GetSubstring(int s, char buffer[], int max, int match) |
| 182 | { |
no outgoing calls
no test coverage detected