From: yvon.thoravallist@... (Yvon Thoraval) Date: 2003-09-24T03:54:44+09:00 Subject: Re: [newbie] upper to lower first letter of a word wrote: > I believe the /s modifier to the regex will help you here by changing > the encoding, though I'm having character-rendering issues which make > it hard for me to test.... But try this, in the hope that I'm right > even though I can't see the characters: > > str.gsub!(/\b[a-z]+/s) {|w| black_list.include?(w) ? w : w.capitalize} tanxs, i don't remember (from Perl) what's the meaning of this "s" ? -- Yvon