emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rcirc-url-regexp bugfix


From: Ryan Yeske
Subject: rcirc-url-regexp bugfix
Date: Wed, 22 Feb 2006 20:50:23 -0800

2006-02-22  Ryan Yeske  <address@hidden>

        * net/rcirc.el (rcirc-url-regexp): Match entire url when it starts
        with "www".

*** rcirc.el    19 Feb 2006 16:49:04 -0800      1.16
--- rcirc.el    22 Feb 2006 20:45:37 -0800      
***************
*** 1635,1646 ****
  (defvar rcirc-url-regexp
    (rx-to-string
     `(and word-boundary
!        (or "www."
!            (and (or "http" "https" "ftp" "file" "gopher" "news" "telnet" 
!                     "wais" "mailto")
!                 "://"
!                 (1+ (char "-a-zA-Z0-9_."))
!                 (optional ":" (1+ (char "0-9"))))
             (and (1+ (char "-a-zA-Z0-9_."))
                  (or ".com" ".net" ".org")
                  word-boundary))
--- 1635,1647 ----
  (defvar rcirc-url-regexp
    (rx-to-string
     `(and word-boundary
!        (or (and 
!             (or (and (or "http" "https" "ftp" "file" "gopher" "news" 
!                          "telnet" "wais" "mailto")
!                      "://")
!                 "www.")
!             (1+ (char "-a-zA-Z0-9_."))
!             (optional ":" (1+ (char "0-9"))))
             (and (1+ (char "-a-zA-Z0-9_."))
                  (or ".com" ".net" ".org")
                  word-boundary))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]