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

Re: sourceforge.el --- sourceforge minormode stacked on emacs-w3m



> 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?

Yes, you are right. Thank you.

Masatake YAMATO