ParseDate.parsedate("Tuesday, July 6th, 2007, 18:35:20 UTC")

ParseDate e$B$N%^%K%e%"%k$K$"$k0J2<$NNc$rF0$+$9$H!"<($5$l$?7k2Le(B
e$B$K$J$i$J$$$s$G$9$,!"2?$+JQ$o$j$^$7$?$C$1e(B?

ParseDate.parsedate “Tuesday, July 6th, 2007, 18:35:20 UTC”

# => [2007, 7, 6, 18, 35, 20, “UTC”, 2]

% ./ruby -rparsedate -e ‘p ParseDate.parsedate(“Tuesday, July 6th, 2007,
18:35:20 UTC”)’
[nil, nil, 6, 18, 35, 20, nil, nil]
% ./ruby -v
ruby 1.9.0 (2007-07-23 patchlevel 0) [i686-linux]

ParseDate e$B$N%^%K%e%"%k$K$"$k0J2<$NNc$rF0$+$9$H!"<($5$l$?7k2Le(B
e$B$K$J$i$J$$$s$G$9$,!"2?$+JQ$o$j$^$7$?$C$1e(B?

e$BKM$,:G8e$K3NG’$7$?>uBV$G$OLdBj$J$$$h$&$G$9!#e(B

$ ./ruby -rparsedate -e ‘p ParseDate.parsedate(“Tuesday, July 6th, 2007,
18:35:20 UTC”)’
[2007, 7, 6, 18, 35, 20, “UTC”, 2]
$ ./ruby -v
ruby 1.9.0 (2007-07-22 patchlevel 0) [i386-freebsd6.2]

e$B8=>u$@$H3N$+$K<:GT$7$^$9!#e(B

$ ./ruby -rparsedate -e ‘p ParseDate.parsedate(“Tuesday, July 6th,
2007, 18:35:20 UTC”)’
[nil, nil, 6, 18, 35, 20, nil, nil]
$ ./ruby -v
ruby 1.9.0 (2007-07-24 patchlevel 0) [i386-freebsd6.2]

e$B$J$s$NH?1~$b$J$$$N$G!"$A$g$C$HD4$Y$F$$^$7$?$,!"$*$=$i$/!"J8;z%/%i%9$,e(B
e$B$i$
$N%P%0$,860x$@$H;W$$$^$9!#e(B

$ ruby -ve “p ‘Ruby’.sub(/[^a-z]/i, ‘-’)”
ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-freebsd6.2]
“Ruby”

$ ./ruby -ve “p ‘Ruby’.sub(/[^a-z]/i, ‘-’)”
ruby 1.9.0 (2007-07-26 patchlevel 0) [i386-freebsd6.2]
“-uby”