[Top][All Lists]
[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
- Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/07/16
- Re: Slow access to files using UNC path, Peter Lee, 2004/07/16
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/07/17
- Re: Slow access to files using UNC path, Andreas Schwab, 2004/07/17
- Re: Slow access to files using UNC path,
David Kastrup <=
- Re: Slow access to files using UNC path, Eli Zaretskii, 2004/07/18
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/07/18
- Re: Slow access to files using UNC path, Andreas Schwab, 2004/07/18
- Re: Slow access to files using UNC path, Eli Zaretskii, 2004/07/18
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/07/19
- Re: Slow access to files using UNC path, Eli Zaretskii, 2004/07/19
- Re: Slow access to files using UNC path, Andreas Schwab, 2004/07/18
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/07/18