Hello,

/usr/src/ruby-1.6.8$ ./ruby -v
ruby 1.6.8 (2002-12-24) [i686-linux]
/usr/src/ruby-1.6.8$ ./ruby -F'[aeiou]+' -wane 'p $F'
Hello, this is just a little test. Don't panic.
["H", "ll", ", th", "s ", "s j", "st ", " l", "ttl", " t", "st. D", "n't p", "n", "c.\n"]
-e:1: Interrupt
/usr/src/ruby-1.6.8$ /usr/bin/ruby -v
ruby 1.8.0 (2003-07-24) [i686-linux]
/usr/src/ruby-1.6.8$ /usr/bin/ruby -F'[aeiou]+' -wane 'p $F'
Hello, this is just a little test. Don't panic.
-e:1: warning: string pattern instead of regexp; metacharacters no longer effective
["Hello, this is just a little test. Don't panic.\n"]
I think it wants to split on a literal [aeiou]+, right?
-e:1: warning: string pattern instead of regexp; metacharacters no longer effective
["I think it wants to split on a literal ", ", right?\n"]

What gives? Why don't Ruby 1.8 use a regex with -F?

Jason Creighton