RE: unusual character splitting

2002-03-06 Thread Hanson, Robert
ROTECTED]] Sent: Wednesday, March 06, 2002 12:07 PM To: Lex Cc: [EMAIL PROTECTED] Subject: Re: unusual character splitting >>>>> "alex" == alex vandenabeele writes: alex> thus is my question: which regex do i have to use so i'll get alex> the words with d

Re: unusual character splitting

2002-03-06 Thread Chris Ball
> "alex" == alex vandenabeele writes: alex> thus is my question: which regex do i have to use so i'll get alex> the words with diaeresis also in @words? Hi, Alex. Try turning on Perl's locale support to help with this - add the line 'use locale;' to the top of your script. It depe

Re: unusual character splitting

2002-03-06 Thread Jan Gruber
Hi Alex && List ! > i want to split a line like: > $line = 'hello, this is a test line, but what with the letter ä or ë?'; > but i won't get "ë" or "ä", > thus is my question: which regex do i have to use so i'll get the words > with diaeresis also in @words? @words = split(/[\W,.]/, $lijn); Un

unusual character splitting

2002-03-06 Thread Lex
Hello I'm a student from belgium (Leuven) and i have to write a program in perl; and i have folowing problem: i want to split a line like: $line = 'hello, this is a test line, but what with the letter ä or ë?'; en when i split like this: @words = split(/[^\w]+/, $lijn); I'll get "hello", "