diff options
| author | Eli Zaretskii | 2006-03-03 11:44:11 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-03-03 11:44:11 +0000 |
| commit | 019ed9c702a4456596be97d0b6e8e29be71f7181 (patch) | |
| tree | dea3ecec0d23076c30a266c62514c8babd9b3beb | |
| parent | 46771bb390ff60ac06389c726489d0af3091e19b (diff) | |
| download | emacs-019ed9c702a4456596be97d0b6e8e29be71f7181.tar.gz emacs-019ed9c702a4456596be97d0b6e8e29be71f7181.zip | |
(rcirc-url-regexp): Match entire url when it starts with "www".
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/net/rcirc.el | 13 |
2 files changed, 12 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f82c29d6ba5..247bef99213 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-03-03 Ryan Yeske <rcyeske@gmail.com> | ||
| 2 | |||
| 3 | * net/rcirc.el (rcirc-url-regexp): Match entire url when it starts | ||
| 4 | with "www". | ||
| 5 | |||
| 1 | 2006-03-03 Ken Manheimer <ken.manheimer@gmail.com> | 6 | 2006-03-03 Ken Manheimer <ken.manheimer@gmail.com> |
| 2 | 7 | ||
| 3 | allout.el: Restablished intermediate missing comment header to | 8 | allout.el: Restablished intermediate missing comment header to |
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index f2eff379d14..f5cf1ecb7e0 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -1635,12 +1635,13 @@ ones added to the list automatically are marked with an asterisk." | |||
| 1635 | (defvar rcirc-url-regexp | 1635 | (defvar rcirc-url-regexp |
| 1636 | (rx-to-string | 1636 | (rx-to-string |
| 1637 | `(and word-boundary | 1637 | `(and word-boundary |
| 1638 | (or "www." | 1638 | (or (and |
| 1639 | (and (or "http" "https" "ftp" "file" "gopher" "news" "telnet" | 1639 | (or (and (or "http" "https" "ftp" "file" "gopher" "news" |
| 1640 | "wais" "mailto") | 1640 | "telnet" "wais" "mailto") |
| 1641 | "://" | 1641 | "://") |
| 1642 | (1+ (char "-a-zA-Z0-9_.")) | 1642 | "www.") |
| 1643 | (optional ":" (1+ (char "0-9")))) | 1643 | (1+ (char "-a-zA-Z0-9_.")) |
| 1644 | (optional ":" (1+ (char "0-9")))) | ||
| 1644 | (and (1+ (char "-a-zA-Z0-9_.")) | 1645 | (and (1+ (char "-a-zA-Z0-9_.")) |
| 1645 | (or ".com" ".net" ".org") | 1646 | (or ".com" ".net" ".org") |
| 1646 | word-boundary)) | 1647 | word-boundary)) |