On Jul 28, 2006, at 6:29 PM, Allan Odgaard wrote:
On 29/7/2006, at 0:24, Charilaos Skiadas wrote:
Should have included the code for the escaping. Here it is:
def e_sh(str) str.to_s.gsub(/[^a-zA-Z0-9_./]/, "\\\0") end
I reckon this is from Support/lib/escape.rb?
Try this version instead:
def e_sh(str) str.to_s.gsub(/(?=[^a-zA-Z0-9_.\/\-\x7F-\xFF])/, '\\') end
I just committed it. Dan, can you update and see if this behaves better?
Haris