branch: elpa/helm
commit d6f4d6af7a927f6dc406d3de3e20f2de79bf39e5
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Fix typo in regexp
---
helm-occur.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-occur.el b/helm-occur.el
index 2587e901e4..b7ffc6115b 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)