From: ahoward Date: 2003-06-28T06:34:11+09:00 Subject: Re: \s in regex On Sat, 28 Jun 2003, Mauricio [iso-8859-1] Fern�ndez wrote: > On Sat, Jun 28, 2003 at 12:28:16AM +0900, ahoward wrote: > > | ~ > ruby -e 'p(%.\x2d\x29..intern)' > > batsman@tux-chan:~$ ruby -v > ruby 1.8.0 (2003-03-03) [i686-linux] > batsman@tux-chan:~$ ruby -e 'p(%.\x2d\x29..intern)' > :"-)" > batsman@tux-chan:~$ /usr/bin/ruby -v > ruby 1.6.8 (2002-12-24) [i386-linux] > batsman@tux-chan:~$ /usr/bin/ruby -e 'p(%.\x2d\x29..intern)' > :-) > batsman@tux-chan:~$ ruby -e 'p ")".intern' > :")" > batsman@tux-chan:~$ /usr/bin/ruby -e 'p ")".intern' > :) > > Beware :) damn! back to the drawing board... -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ara.t.howard@noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 | ~ > ruby -e 'p(%.\x2d\x29..intern)' ====================================