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

Re: sourceforge.el --- sourceforge minor modestacked on emacs-w3m



Masatake YAMATO <jet@gyve.org> writes:

> 大和です.

unfortunately, i don't speak japanese.

 (defun sourceforge-get-project-name-from-url (url)
   (if (and url (stringp url))
       (cond
        ((string-match "http://sourceforge\\.net/projects/\\(.*\\).*" url)
                                                          ^^^^^^^^^^
what is this RE supposed to match?  AFAIK it would match everything
from projects/<- on to the end of the string, but it could be slower
than the simpler equivalent ".../\\(.*\\)", no?

-- 
clemens