Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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,

  • Comment on Re: To find Cyrillic characters - unicode

Replies are listed 'Best First'.
Re^2: To find Cyrillic characters - unicode
by Anonymous Monk on Aug 03, 2007 at 06:53 UTC
    Many Thanks!!!!!!!!!!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://630448]
[Corion]: First World Problems - on my new desk, the sun shines in my face :)
[LanX]: damn sun ...blame Ophelia!
[choroba]: Yesterday, I gave Ramirez a headshot through the gate in Aztec. LOL. What happened to you? WTF? Sun. There was a hole in the window foil.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2017-10-18 13:58 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (245 votes). Check out past polls.