On Thu, 2008-10-02 at 17:09 +0300, Vyacheslav Karamov wrote:
> Vyacheslav Karamov пишет:
> > Hi All!
> >
> > I making regular expression for mathching authors
> > in some text (English, French or German).
> > Which character class lower-case  letters containing latin letters 
> > like  "ø"?
> >
> > For example "Colding-Jørgensen"
> >
> Sorry, I need an upper-case too.
> 

POSIX has a class of characters that respond to locale.

use POSIX;
/[[:alpha:]]+/;

See:
perldoc POSIX
perldoc perllocale
perldoc locale


-- 
Just my 0.00000002 million dollars worth,
  Shawn

Linux is obsolete.
-- Andrew Tanenbaum


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to