[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 253/352: Add \< and \> to regexps in "email" language example
From: |
Stefan Monnier |
Subject: |
[elpa] 253/352: Add \< and \> to regexps in "email" language example |
Date: |
Mon, 07 Jul 2014 14:04:41 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit 36f532cfd10bd60163720b7e1736c6ab572a2a80
Author: Teemu Likonen <address@hidden>
Date: Sat Jun 25 08:58:02 2011 +0300
Add \< and \> to regexps in "email" language example
---
wcheck-mode.el | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/wcheck-mode.el b/wcheck-mode.el
index 5986b0f..ecef905 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -694,9 +694,9 @@ language configuration:
(\"email\"
(program . email-address-detect)
(face . highlight)
- (regexp-start . \"\")
+ (regexp-start . \"\\\\=\\<\")
(regexp-body . \"address@hidden")
- (regexp-end . \"\")
+ (regexp-end . \"\\\\=\\>\")
(action-program . email-action-menu)
(read-or-skip-faces
(nil)))
@@ -707,8 +707,7 @@ Then the needed functions:
(let (addresses)
(dolist (string strings addresses)
(when (string-match \"\
-\\\\=\\<[a-z.-]+\\\\=\\>@\\\\=\\<[a-z.-]+\\\\=\\>\"
- string)
+\\\\=\\<[a-z.-]+\\\\=\\>@\\\\=\\<[a-z.-]+\\\\=\\>\" string)
(push (match-string-no-properties 0 string) addresses)))))
(defun email-action-menu (marked-text)
- [elpa] 246/352: Fix type in doc: "wcheck-parse-" "wcheck-parser-", (continued)
- [elpa] 246/352: Fix type in doc: "wcheck-parse-" "wcheck-parser-", Stefan Monnier, 2014/07/07
- [elpa] 235/352: Wcheck-versionumero: 2011.02.20, Stefan Monnier, 2014/07/07
- [elpa] 233/352: Uusi ominaisuus: tarkistusohjelman tulosteen jäsennysfunktio, Stefan Monnier, 2014/07/07
- [elpa] 251/352: Clarify the use of regexp-start, -body and -end, Stefan Monnier, 2014/07/07
- [elpa] 241/352: Korjataan wcheck-jump-backward -bugi, Stefan Monnier, 2014/07/07
- [elpa] 239/352: Tyylillistä hienosäätöä funktioon wcheck-make-overlay, Stefan Monnier, 2014/07/07
- [elpa] 243/352: Add README file, Stefan Monnier, 2014/07/07
- [elpa] 250/352: Improve wcheck-language-data doc, Stefan Monnier, 2014/07/07
- [elpa] 244/352: Copy Emacs wiki page's content to new README file, Stefan Monnier, 2014/07/07
- [elpa] 249/352: Fix a typo in wcheck-language-data doc string, Stefan Monnier, 2014/07/07
- [elpa] 253/352: Add \< and \> to regexps in "email" language example,
Stefan Monnier <=
- [elpa] 252/352: Rephrase grouping construct \(\) description in doc string, Stefan Monnier, 2014/07/07
- [elpa] 247/352: Escape \\< with \\=\\< in wcheck-language-data doc string, Stefan Monnier, 2014/07/07
- [elpa] 248/352: Clearer reference to the license text, Stefan Monnier, 2014/07/07
- [elpa] 255/352: Copy examples from wcheck-language-data doc to README, Stefan Monnier, 2014/07/07
- [elpa] 254/352: Rephrase some parts of README, Stefan Monnier, 2014/07/07
- [elpa] 261/352: Merge branch 'action', Stefan Monnier, 2014/07/07
- [elpa] 258/352: README: Move copyright and license text to the end, Stefan Monnier, 2014/07/07
- [elpa] 256/352: Add link to the GPL3 license text in www.gnu.org, Stefan Monnier, 2014/07/07
- [elpa] 260/352: The "args" option can no longer be a string, Stefan Monnier, 2014/07/07
- [elpa] 263/352: README: Add a section about source code repository, Stefan Monnier, 2014/07/07