emacs-devel
[Top][All Lists]
Advanced

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

Re: Slow access to files using UNC path


From: David Kastrup
Subject: Re: Slow access to files using UNC path
Date: 18 Jul 2004 04:31:54 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Andreas Schwab <address@hidden> writes:

> "Dhruva Krishnamurthy" <address@hidden> writes:
> 
> >           (if (or (string-match "^//" file)
> >                   (string-match "^\\\\" file))
> 
>             (if (string-match "^[/\\]" file)

That's not the same.  The first matches either // or \ at the start
of a filename, the latter matches either / or \ at the start of a
filename.

I don't know the context, though: maybe the second actually was what
was desired.  Or maybe it was // or \\ in which case we'd need
(string-match "^\(//\|\\\\\\\\\)")

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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