From: GOTO Kentaro Date: 2002-02-13T02:04:11+09:00 Subject: Re: Regexps and latin-1 In message "Regexps and latin-1" on Wed, 13 Feb 2002 00:31:52 +0900, Damien Wyart writes: > I have tried freq.rb (in sample/) on a file with latin-1 words, and it > doesn't work. Is there a (simple) workaround in 1.6 ? In 1.7 (CVS) ? freq.rb uses /\w+/ equivalent to /[0-9A-Za-z_]+/. Latin-1 words matches to /[\w�-�]+/. Hope this helps, -- Gotoken