From: matz@... (Yukihiro Matsumoto) Date: 2003-07-30T15:43:15+09:00 Subject: Re: What's with -F in 1.8? Hi, In message "What's with -F in 1.8?" on 03/07/30, Jason Creighton writes: |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? It's a bug. Thank you for finding it before 1.8.0 final. matz.