diff options
| author | Zufu Liu <unknown> | 2023-11-21 11:29:30 +1100 |
|---|---|---|
| committer | Zufu Liu <unknown> | 2023-11-21 11:29:30 +1100 |
| commit | df54de37b0a372a49bed0130406a5b75b85cd119 (patch) | |
| tree | f791035b94ff1554ca851087d6020c501ad333c9 /src/RESearch.h | |
| parent | 1348727852f4f9d517245ad9b20bf3c056af47ec (diff) | |
| download | scintilla-mirror-df54de37b0a372a49bed0130406a5b75b85cd119.tar.gz | |
Bug [#2413]. Fix regular expression search failure.
Diffstat (limited to 'src/RESearch.h')
| -rw-r--r-- | src/RESearch.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/RESearch.h b/src/RESearch.h index 05bc0e093..5ac3f00dc 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -22,7 +22,7 @@ public: explicit RESearch(CharClassify *charClassTable); // No dynamic allocation so default copy constructor and assignment operator are OK. void Clear(); - const char *Compile(const char *pattern, Sci::Position length, bool caseSensitive, bool posix) noexcept; + const char *Compile(const char *pattern, Sci::Position length, bool caseSensitive, bool posix); int Execute(const CharacterIndexer &ci, Sci::Position lp, Sci::Position endp); static constexpr int MAXTAG = 10; @@ -48,7 +48,6 @@ private: Sci::Position PMatch(const CharacterIndexer &ci, Sci::Position lp, Sci::Position endp, const char *ap); Sci::Position bol; - Sci::Position tagstk[MAXTAG]; /* subpat tag stack */ char nfa[MAXNFA]; /* automaton */ int sta; unsigned char bittab[BITBLK]; /* bit table for CCL pre-set bits */ |
