[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult 27f5e06 2/2: Update comment
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult 27f5e06 2/2: Update comment |
Date: |
Thu, 5 Aug 2021 18:57:08 -0400 (EDT) |
branch: externals/consult
commit 27f5e06653c0c16881776d7209a4ee7483d0bd61
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Update comment
---
consult.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/consult.el b/consult.el
index b63c70c..f96450b 100644
--- a/consult.el
+++ b/consult.el
@@ -549,14 +549,15 @@ ARGS is a list of commands or sources followed by the
list of keyword-value pair
(consult--compile-regexp (or (car (consult--command-split input)) "")
'emacs))
(defun consult--convert-regexp (regexp type)
- "Convert Emacs REGEXP to regexp syntax TYPE.
-This function only changes the escaping of parentheses, braces and pipes."
+ "Convert Emacs REGEXP to regexp syntax TYPE."
(if (memq type '(emacs basic))
regexp
- ;; XXX Unsupported Emacs regexp features:
+ ;; Support for Emacs regular expressions is fairly complete for basic
+ ;; usage. There are a few unsupported Emacs regexp features:
;; - \= point matching
;; - Syntax classes \sx \Sx
;; - Character classes \cx \Cx
+ ;; - Explicitly numbered groups (?3:group)
(let ((subst
(append
;; Word beginning/end replacements