From: bbense+comp.lang.ruby.Aug.08.02@... Date: 2002-08-09T00:26:36+09:00 Subject: Re: Non trivial features changes in 1.7.2 via CVS -----BEGIN PGP SIGNED MESSAGE----- In article , David Alan Black wrote: >Hello -- > >On Thu, 8 Aug 2002 bbense+comp.lang.ruby.Aug.07.02@telemark.stanford.edu wrote: > >> If you are tracking the cvs version of ruby1.7.2 there has been a >> change in behaviour that affects many libraries. You'll get this >> warning >> >> ../rmail/parser.rb:104: warning: string pattern instead of regexp; >> metacharacters no longer effective >> >> - - Generally, you can fix it by changing code from >> from a quoted string to a regexp. Sometimes however >> the warning is a false positive. My understanding >> was that metacharacters only worked if the string >> was a "single char". You will get this warning for >> strings that are multi-char but contain a \. > >In the past, strings longer than one char were treated as regexes: > - - DOH! No wonder my patches don't work... I am the master of remembering things backwards. - - Thanks, - - Booker C. Bense -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBPVKJLQD83u1ILnWNAQGtJQQAk4ZUJQbzQP969FB3j5wO5b0fyk2Lntq+ kdO46FKEf24j3kpiOr1QFyR36bw9kZS93GSR5AbF0ugfj838gfkCryLVKXJze1hN MUcbhthmrLpOhFMdNhF3b9eINA/N6C+dKclsSUhg+AkR5C3MQ8w7+6AP3ZH69xgV REj+28w5nRk= =4+Nc -----END PGP SIGNATURE----- --