emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/toc-org af1ffb17c2 050/128: Better toc-org-special-chars-r


From: ELPA Syncer
Subject: [nongnu] elpa/toc-org af1ffb17c2 050/128: Better toc-org-special-chars-regexp
Date: Sun, 2 Jan 2022 09:59:08 -0500 (EST)

branch: elpa/toc-org
commit af1ffb17c2526a4d2a0b0fbf48c5b703c6e48e86
Author: JAremko <w3techplayground@gmail.com>
Commit: JAremko <w3techplayground@gmail.com>

    Better toc-org-special-chars-regexp
---
 toc-org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toc-org.el b/toc-org.el
index 1052a3cf99..30bb306f55 100644
--- a/toc-org.el
+++ b/toc-org.el
@@ -61,7 +61,7 @@ files on GitHub)"
   "Regexp to find states on the line")
 (defconst toc-org-links-regexp "\\[\\[\\(.*?\\)\\]\\[\\(.*?\\)\\]\\]"
   "Regexp to find states on the line")
-(defconst toc-org-special-chars-regexp "[][~`!@#$%^&*()+={}|\:;\"'<,>.?/]"
+(defconst toc-org-special-chars-regexp "[^[:alnum:]_-]"
   "Regexp with the special characters (which are omitted in hrefs
   by GitHub)")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]