From 71354442f8bc2c029c7341dff14902f9b6e78fda Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 6 Apr 2001 12:24:21 +0000 Subject: Made regular expression searching work on a line by line basis, made ^ and $ work, made [set] work, and added a case insensitive option. --- src/RESearch.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/RESearch.h') diff --git a/src/RESearch.h b/src/RESearch.h index 62a78f48e..14a5471fd 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -31,7 +31,8 @@ public: void Clear(); bool GrabMatches(CharacterIndexer &ci); void ChSet(char c); - const char *Compile(char *pat); + void ChSetWithCase(char c, bool caseSensitive); + const char *Compile(const char *pat, bool caseSensitive); int Execute(CharacterIndexer &ci, int lp); void ModifyWord(char *s); int Substitute(CharacterIndexer &ci, char *src, char *dst); -- cgit v1.2.3