[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix 686bac6 068/192: fix query validating regexp
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix 686bac6 068/192: fix query validating regexp |
Date: |
Sat, 19 Dec 2020 00:41:35 -0500 (EST) |
branch: externals/kiwix
commit 686bac60f942665ddf695e761a1a37900c30885f
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
fix query validating regexp
---
kiwix.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index 7480bdb..908ab76 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -233,9 +233,7 @@ for query string and library interactively."
;; - query : should not exclude space
(when (string-match "\\(?:(\\(.*\\)):\\)?\\([^]\n\t\r]*\\)" link) ;
(library):query
(let* (
- (library (if (string-match-p "\\`[a-zA-Z\ ]+\\'"
- ;; query
- (match-string 2 link)) ; validate
query is English
+ (library (if (string-match-p "[a-zA-Z\ ]+" (match-string 2 link)) ;
validate query is English
;; convert between libraries full name and abbrev.
(kiwix-get-library-fullname (or (match-string 1 link)
"default"))
- [elpa] externals/kiwix fb83985 062/192: Merge branch 'master' into develop, (continued)
- [elpa] externals/kiwix fb83985 062/192: Merge branch 'master' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 45cc8ef 067/192: add some links test., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix d9bab20 074/192: Merge branch 'release/v0.5.1', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix ea54acf 080/192: extract get org-mode link library to a single function, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 49fdf02 079/192: add custom option for specifying your native language library, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5cba3b5 081/192: add a test for only capitalize the first word, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 4102205 086/192: load for `org-link-set-parameters', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 7b8a799 088/192: Merge tag 'void-function_org-link-set-parameters' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix e600844 089/192: fix kiwix does not contain group., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 121d98a 093/192: fix void function org-link-set-parameters., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 686bac6 068/192: fix query validating regexp,
Stefan Monnier <=
- [elpa] externals/kiwix 47d968a 069/192: update add org-mode link functions to Org-mode 9.0, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 3dab002 077/192: only capitalize the first word of string., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 6fb8354 078/192: Merge branch 'release/v0.5.2', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 43e0547 083/192: Merge branch 'release/v0.6.0', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 6a7fc40 097/192: Merge branch 'hotfix/void-function-org-link-set-parameters-2', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 2ab63c9 098/192: Merge tag 'void-function-org-link-set-parameters-2' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 6e43812 102/192: fix void functions by adding autoload cookies., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5aa6c3a 105/192: `string-empty-p` depends on (emacs "24.4"), Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 86dbead 107/192: add a helper function to detect kiwix profile directory accessible., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 44a44cb 110/192: autoload org related functions, Stefan Monnier, 2020/12/19