aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/RESearch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/RESearch.cxx')
-rw-r--r--src/RESearch.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/RESearch.cxx b/src/RESearch.cxx
index 98399c925..8fe3724c8 100644
--- a/src/RESearch.cxx
+++ b/src/RESearch.cxx
@@ -264,20 +264,6 @@ RESearch::RESearch(CharClassify *charClassTable) {
void RESearch::Clear() {
bopat.fill(NOTFOUND);
eopat.fill(NOTFOUND);
- for (int i = 0; i < MAXTAG; i++) {
- pat[i].clear();
- }
-}
-
-void RESearch::GrabMatches(const CharacterIndexer &ci) {
- for (unsigned int i = 0; i < MAXTAG; i++) {
- if ((bopat[i] != NOTFOUND) && (eopat[i] != NOTFOUND)) {
- const Sci::Position len = eopat[i] - bopat[i];
- pat[i].resize(len);
- for (Sci::Position j = 0; j < len; j++)
- pat[i][j] = ci.CharAt(bopat[i] + j);
- }
- }
}
void RESearch::ChSet(unsigned char c) noexcept {