Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: To find Cyrillic characters - unicode

by Zaxo (Archbishop)
on Aug 03, 2007 at 04:53 UTC ( #630448=note: print w/ replies, xml ) Need Help??


in reply to To find Cyrillic characters - unicode

The regex unicode block property '\P{InCyrillic}' will get you what you want. You may need to open the file in ':utf8' mode.

Isolating your match to particular xml elements will require one of the XML modules. That ought to make the text utf8 by default, but old perls may be idiosyncratic about that.

After Compline,
Zaxo


Comment on Re: To find Cyrillic characters - unicode
Re^2: To find Cyrillic characters - unicode
by Anonymous Monk on Aug 03, 2007 at 06:53 UTC
    Many Thanks!!!!!!!!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://630448]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-07-24 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls