diff options
author | nyamatongwe <devnull@localhost> | 2001-04-29 13:32:10 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-04-29 13:32:10 +0000 |
commit | 09d42ffa21ce48f7ccd80c71674445bffe15cef1 (patch) | |
tree | e5e81d31814afcd65759d81fd0ec7e375ca7603d /src/RESearch.h | |
parent | 33ce86f2a9e5389f7dd9922eb387936b61364259 (diff) | |
download | scintilla-mirror-09d42ffa21ce48f7ccd80c71674445bffe15cef1.tar.gz |
Addition of new target methods - versions of ReplaceTarget that take counted
strings to allow for nulls, SearchInTarget and Get/SetSearchFlags to use a
series of calls rather than a structure.
Handling of \000 in search and replace.
Handling of /escapes within character ranges of regular expressions.
Some handling of bare ^ and $ regular expressions.
Diffstat (limited to 'src/RESearch.h')
-rw-r--r-- | src/RESearch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/RESearch.h b/src/RESearch.h index 14a5471fd..28238bfb7 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -32,8 +32,8 @@ public: bool GrabMatches(CharacterIndexer &ci); void ChSet(char c); void ChSetWithCase(char c, bool caseSensitive); - const char *Compile(const char *pat, bool caseSensitive); - int Execute(CharacterIndexer &ci, int lp); + const char *Compile(const char *pat, int length, bool caseSensitive); + int Execute(CharacterIndexer &ci, int lp, int endp); void ModifyWord(char *s); int Substitute(CharacterIndexer &ci, char *src, char *dst); @@ -46,7 +46,7 @@ public: char *pat[MAXTAG]; private: - int PMatch(CharacterIndexer &ci, int lp, char *ap); + int PMatch(CharacterIndexer &ci, int lp, int endp, char *ap); int bol; int tagstk[MAXTAG]; /* subpat tag stack..*/ |