tramp-devel
[Top][All Lists]
Advanced

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

Re: Domain names with dots


From: James Yoo
Subject: Re: Domain names with dots
Date: Thu, 23 Apr 2009 07:56:05 -0500

wouldn't a '.' be interpreted as "anything" in the regex or is it just a regular dot in a character class?

On Thu, Apr 23, 2009 at 4:47 AM, Simo Melenius <address@hidden> wrote:
2009/4/23 Michael Albinus <address@hidden>:

> Oops, yes. Sounds OK to me. "[a-zA-Z0-9.]+" would be better (who wants a
> backslash in a domain name?).

My mistake, a plain dot is exactly what I meant. Maybe a dash could be
included as well, making it "[-a-zA-Z0-9.]+" ?

> It would be more complex. It should be at least "[^%@:]+" for GNU Emacs,
> and "address@hidden" for XEmacs. Therefore, I prefer the first alternative.

Something like this is what I anticipated :-)


thanks,
S
--
() Today is the car of the cdr of your life.
/\ http://arc.pasp.de/


_______________________________________________


reply via email to

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