Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^5: RegEx: Detecting the certain cyrillic words

by choroba (Chancellor)
on Mar 01, 2013 at 18:22 UTC ( #1021314=note: print w/replies, xml ) Need Help??

in reply to Re^4: RegEx: Detecting the certain cyrillic words
in thread RegEx: Detecting the certain cyrillic words

Weird. Works for me:
#!/usr/bin/perl use warnings; use strict; use utf8; use WWW::Mechanize qw(); my $mech = WWW::Mechanize->new; $mech->credentials('user' => 'pass'); $mech->get(''); my $content = $mech->text(); $content =~ s/\n\r//g; binmode STDOUT, ':utf8'; print $1,"\n" if $content =~ /(\bКремл&# +1100;.*\"\b)(.*)/i;
The regex looks like this in fact:
$content =~ /(\bКремль.*\"\b)(.*)/i
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021314]
[choroba]: Progress! Nowadays, you can write a Perl script to generate such an anagram!
[GotToBTru]: i like to order my chemicals a-la-carte ambrus ;)
[thepkd]: Hi, in trying to create an Array of Hash of Array of Hash. You read it right. Is it possible to dereference it without using temps?

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2016-12-06 13:12 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (104 votes). Check out past polls.