[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/ispell.el
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/ispell.el |
Date: |
Sat, 18 Mar 2006 14:11:55 +0000 |
Index: emacs/lisp/textmodes/ispell.el
diff -u emacs/lisp/textmodes/ispell.el:1.194
emacs/lisp/textmodes/ispell.el:1.195
--- emacs/lisp/textmodes/ispell.el:1.194 Sat Mar 11 15:36:15 2006
+++ emacs/lisp/textmodes/ispell.el Sat Mar 18 14:11:55 2006
@@ -1325,9 +1325,10 @@
("^%!PS-Adobe-[123].0" . "\n%%EOF\n")
("^---* \\(Start of \\)?[Ff]orwarded [Mm]essage"
. "^---* End of [Ff]orwarded [Mm]essage")
- ;; Matches e-mail addresses, file names, http addresses, etc. The `-+'
- ;; pattern necessary for performance reasons when `-' part of word syntax.
-
("\\(--+\\|\\(/\\w\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)")
+ ;; Matches e-mail addresses, file names, http addresses, etc. The
+ ;; `-+' `_+' patterns are necessary for performance reasons when
+ ;; `-' or `_' part of word syntax.
+
("\\(--+\\|_+\\|\\(/\\w\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)")
;; above checks /.\w sequences
;;("\\(--+\\|\\(/\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)")
;; This is a pretty complex regexp. It can be simplified to the following: