From: nobu.nokada@... Date: 2003-05-14T16:17:38+09:00 Subject: Re: Bug in backslash-escapes in Dir.glob Hi, At Wed, 14 May 2003 15:39:48 +0900, Clifford Heath wrote: > > The last backslash has no meanings at all. Just a literal space. > > Yes. But use two backslashes, or four, six or eight, and you get > exactly the same result. Escaping meta-character is also 1.7 feature, it doesn't work in 1.6. So it was impossible to contain spaces in glob patterns as matching characters. > > In 1.6, spaces are separators of patterns, so you are globbing > > "glob?test/*" and "*" here. > > Are you saying that *bug* is fixed in a later version? It was a feature modified in 1.7, spaces have no longer special meanings now. You have to use '\0', which is available even in 1.6, to separate patterns instead. -- Nobu Nakada