M
Marnen Laibow-Koser
$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
$ irb
irb(main):001:0> Regexp::escape('a b')
=> "a\\ b"
Why? This doesn't seem to make any sense. Is it a bug?
Best,
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
$ irb
irb(main):001:0> Regexp::escape('a b')
=> "a\\ b"
Why? This doesn't seem to make any sense. Is it a bug?
Best,