CRe: fix issues with case sensitive and regex search (#7947)

Fix crash with previous commit.
Show regex checkbox only with cre documents.
This commit is contained in:
zwim authored and GitHub committed 2021-07-08 23:30:37 +02:00
1 parent 826a765705
commit 4d9d599a6a
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -1248,7 +1248,7 @@ function CreDocument:checkRegex(pattern)
end
function CreDocument:getAndClearRegexSearchError()
retval = self._document:getAndClearRegexSearchError()
local retval = self._document:getAndClearRegexSearchError()
logger.dbg("CreDocument: getAndClearRegexSearchError", retval)
return retval
end