[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 1327e97f14: Fix regexp matching private symbols in he
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 1327e97f14: Fix regexp matching private symbols in helm-occur |
Date: |
Sat, 5 Nov 2022 15:58:51 -0400 (EDT) |
branch: elpa/helm
commit 1327e97f14449ad980fe4345d21ba1adf07af39d
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix regexp matching private symbols in helm-occur
---
helm-occur.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-occur.el b/helm-occur.el
index 5fa10aeb8e..2587e901e4 100644
--- a/helm-occur.el
+++ b/helm-occur.el
@@ -296,7 +296,7 @@ car of the shorthand association.
When no `read-symbol-shorthands' local value is found use PATTERN unmodified."
(if helm-occur-match-shorthands
(let ((shorthands (buffer-local-value 'read-symbol-shorthands buffer))
- (prefix (and (string-match "\\`\\([^-]+-\\)[^-]*" pattern)
+ (prefix (and (string-match "\\`\\(.*-\\)-?.**" pattern)
(match-string 1 pattern))))
(if (and shorthands prefix)
(helm-aif (or (assoc prefix shorthands)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/helm 1327e97f14: Fix regexp matching private symbols in helm-occur,
ELPA Syncer <=