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);

Untested.. split at non-Word or "," or "." .

Maybe this works ;o)

Cheers,
Jan
-- 
cat /dev/world | perl -e "while (<>) {(/(^.*? \?) 42 \!/) && (print $1)}"
errors->(c)
_ 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to