-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
steps to reproduce:
- open any file
- go to the end of any non-empty line
- open find panel in regex mode
- try to search for
\Q - the micro will crash
Micro encountered an error: *errors.errorString regexp: Compile(`.(?:\Q)`): error parsing regexp: missing closing ): `.(?:\Q)`
regexp/regexp.go:313 (0x593cf4)
github.com/zyedidia/micro/v2/internal/buffer/search.go:45 (0x8bb84a)
github.com/zyedidia/micro/v2/internal/buffer/search.go:71 (0x8bbab0)
github.com/zyedidia/micro/v2/internal/buffer/search.go:170 (0x8bc506)
github.com/zyedidia/micro/v2/internal/action/actions.go:1122 (0x8f39f6)
github.com/zyedidia/micro/v2/internal/action/infopane.go:117 (0x90d0fb)
github.com/zyedidia/micro/v2/cmd/micro/micro.go:516 (0x947757)
github.com/zyedidia/micro/v2/cmd/micro/micro.go:455 (0x947130)
internal/runtime/atomic/types.go:194 (0x43bc2b)
runtime/asm_amd64.s:1700 (0x478d41)
If you can reproduce this error, please report it at https://github.com/zyedidia/micro/issues