From: Zach Dennis Date: 2004-01-31T13:07:42+09:00 Subject: regex bug? key = "file" attrib = "\\Applications\\4Dapp\\Chess\\" command = "xcopy [file] /y /s /e i:\\source\\" command.gsub!( /\[#{key}\]/ , "#{attrib}" ) puts command => "xcopy \\ApplicationsDapp\\Chess\\ /y /s /e i:\\source\\" It should be: => "xcopy \\Applications\\4Dapp\\Chess\\ /y /s /e i:\\source\\" Any idea why it keeps stealing my \4? Zach