mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(ispell-skip-region-alist): Add "_+" to the part that matches email addresses,
file names, etc.
This commit is contained in:
parent
50f9edc202
commit
b857cb5c8e
1 changed files with 4 additions and 3 deletions
|
|
@ -1325,9 +1325,10 @@ The last occurring definition in the buffer will be used.")
|
|||
("^%!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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue