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
> "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
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
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", "