branch: externals/consult
commit f6e86f336a5b92f4589788253beea16788280fa3
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    consult--grep-builder: Use -P and -E which seem more widely supported
---
 consult.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consult.el b/consult.el
index df604c4fd0..49985d914a 100644
--- a/consult.el
+++ b/consult.el
@@ -4410,7 +4410,7 @@ INITIAL is inital input."
         (when re
           `(:command
             (,@cmd
-             ,(if (eq type 'pcre) "--perl-regexp" "--extended-regexp")
+             ,(if (eq type 'pcre) "-P" "-E") ;; perl or extended
              "-e" ,(consult--join-regexps re type)
              ,@opts)
             :highlight ,hl))))))

Reply via email to