Browse Source

org-plain-link-re has been improved to allow ; and , in URL's.

Carsten Dominik 17 years ago
parent
commit
d8b7e8a87a
3 changed files with 7 additions and 1 deletions
  1. 1 0
      .gitignore
  2. 5 0
      ChangeLog
  3. 1 1
      org.el

+ 1 - 0
.gitignore

@@ -1,5 +1,6 @@
 test
 *~
+*#
 *.html
 *.elc
 org.pdf

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2008-02-01  Carsten Dominik  <dominik@science.uva.nl>
+
+	* org.el (org-make-link-regexps): Improve the regular expression
+	for plain links.
+
 2008-01-31  Carsten Dominik  <dominik@science.uva.nl>
 
 	* org.el (org-agenda-get-closed): List each clocking entry.

+ 1 - 1
org.el

@@ -5035,7 +5035,7 @@ This should be called after the variable `org-link-types' has changed."
 	org-plain-link-re
 	(concat
 	 "\\<\\(" (mapconcat 'identity org-link-types "\\|") "\\):"
-	 "\\([^]\t\n\r<>,;() ]+\\)")
+	 "\\([^]\t\n\r<>() ]+[^]\t\n\r<>,.;() ]\\)")
 	org-bracket-link-regexp
 	"\\[\\[\\([^][]+\\)\\]\\(\\[\\([^][]+\\)\\]\\)?\\]"
 	org-bracket-link-analytic-regexp