Project

General

Profile

Actions

Bug #4404

closed

Make Dir.glob respect backslash as if slash in windows

Added by rogerdpack (Roger Pack) about 13 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:
-
ruby -v:
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
Backport:
[ruby-core:35265]

Description

=begin
Hello all.
Related to

http://redmine.ruby-lang.org/issues/show/2625

I at times find myself using windows paths in glob's:

Dir[%!C:\Users\Public\Desktop*!]

But it never works, as the backslash must be (manually, or programmatically) replaced by a forward slash.
Could we get the default behavior changed for windows on this? That would be swell.

Thank you!
-r
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0