* Reset the matching state to process a new item. */
| 78 | * Reset the matching state to process a new item. |
| 79 | */ |
| 80 | void StringFilter::ResetState() |
| 81 | { |
| 82 | this->word_matches = 0; |
| 83 | for (WordState &ws : this->word_index) { |
| 84 | ws.match = false; |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Pass another text line from the current item to the filter. |
no outgoing calls
no test coverage detected