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/Document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.h') diff --git a/src/Document.h b/src/Document.h index 30fdc625e..597e33171 100644 --- a/src/Document.h +++ b/src/Document.h @@ -192,7 +192,7 @@ public: int NextWordStart(int pos, int delta); int Length() { return cb.Length(); } long FindText(int minPos, int maxPos, const char *s, - bool caseSensitive, bool word, bool wordStart, bool regExp, int *length); + bool caseSensitive, bool word, bool wordStart, bool regExp, bool posix, int *length); long FindText(int iMessage, unsigned long wParam, long lParam); const char *SubstituteByPosition(const char *text, int *length); int LinesTotal(); -- cgit v1.2.3