From cd379cd8381571e77713ea2e19f9a020beab1d37 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 24 Mar 2020 15:59:40 +0100 Subject: [PATCH] Clarify the Find operation being regex-enabled (#1561) This makes it more obvious that the Find option accepts regular expressions as input. See discussion in #1560. --- internal/action/actions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/action/actions.go b/internal/action/actions.go index d176096f..97074653 100644 --- a/internal/action/actions.go +++ b/internal/action/actions.go @@ -774,7 +774,7 @@ func (h *BufPane) saveBufToFile(filename string, action string, callback func()) // Find opens a prompt and searches forward for the input func (h *BufPane) Find() bool { h.searchOrig = h.Cursor.Loc - InfoBar.Prompt("Find: ", "", "Find", func(resp string) { + InfoBar.Prompt("Find (regex): ", "", "Find", func(resp string) { // Event callback match, found, _ := h.Buf.FindNext(resp, h.Buf.Start(), h.Buf.End(), h.searchOrig, true, true) if found {