From 69daddeb2a241af212edca89f6a7422e6f8a5053 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 4 Mar 2003 10:53:59 +0000 Subject: Patch from Jakub to optionally implement more POSIX compatible regular expressions. \(..\) changes to (..) Fixes problem where find previous would not find earlier matches on same line. --- src/RESearch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/RESearch.h') diff --git a/src/RESearch.h b/src/RESearch.h index 9d0f20389..8ca9cd0b8 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -32,7 +32,7 @@ public: bool GrabMatches(CharacterIndexer &ci); void ChSet(char c); void ChSetWithCase(char c, bool caseSensitive); - const char *Compile(const char *pat, int length, bool caseSensitive); + const char *Compile(const char *pat, int length, bool caseSensitive, bool posix); int Execute(CharacterIndexer &ci, int lp, int endp); void ModifyWord(char *s); int Substitute(CharacterIndexer &ci, char *src, char *dst); -- cgit v1.2.3