From: Sam Roberts Date: 2004-04-07T09:35:50+09:00 Subject: Re: how to match acented letters on windows Quoteing surrender_it@rc1.vip.ukl.yahoo.com, on Wed, Apr 07, 2004 at 06:09:21AM +0900: > il Tue, 6 Apr 2004 22:21:26 +0900, Sam Roberts > ha scritto:: > > >Are you sure you want to do this? > > > > well, I can't cause even if wovels have just one name in my home > language (i.e. a and � are just 'a') they may have great differences > in meaning. say, > passo stands for 'step' while pass� stands for 'passed'. > > Anyway, my problem arises from a simple problem: counting words in a > file. > I can't just count any \w+ block cause many of the letters are > considered wrong. How about doing the opposite, counting the number of blocks that are not space characters? [^\s]+ Cheers, Sam