aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/ispell.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 1991a73e8e2..64314c772b2 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1325,9 +1325,10 @@ The last occurring definition in the buffer will be used.")
1325 ("^%!PS-Adobe-[123].0" . "\n%%EOF\n") 1325 ("^%!PS-Adobe-[123].0" . "\n%%EOF\n")
1326 ("^---* \\(Start of \\)?[Ff]orwarded [Mm]essage" 1326 ("^---* \\(Start of \\)?[Ff]orwarded [Mm]essage"
1327 . "^---* End of [Ff]orwarded [Mm]essage") 1327 . "^---* End of [Ff]orwarded [Mm]essage")
1328 ;; Matches e-mail addresses, file names, http addresses, etc. The `-+' 1328 ;; Matches e-mail addresses, file names, http addresses, etc. The
1329 ;; pattern necessary for performance reasons when `-' part of word syntax. 1329 ;; `-+' `_+' patterns are necessary for performance reasons when
1330 ("\\(--+\\|\\(/\\w\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)") 1330 ;; `-' or `_' part of word syntax.
1331 ("\\(--+\\|_+\\|\\(/\\w\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)")
1331 ;; above checks /.\w sequences 1332 ;; above checks /.\w sequences
1332 ;;("\\(--+\\|\\(/\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)") 1333 ;;("\\(--+\\|\\(/\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)")
1333 ;; This is a pretty complex regexp. It can be simplified to the following: 1334 ;; This is a pretty complex regexp. It can be simplified to the following: