My whole code is, but there is no result:
#!usr/bin/perl -w
use utf8;
use strict;
use warnings FATAL => 'all';
use WWW::Mechanize qw();
my $mech = WWW::Mechanize->new;
$mech->credentials('user' => 'pass');
$mech->get('http://example.ru/');
my $content = $mech->text();
$content =~ s/\n\r//g;
print $1,"\n" if $content =~ /(\bЖелаю.*\!\b)(.*)/i;
In reply to Re^2: RegEx: Detecting the certain cyrillic words
by programmer.perl
in thread RegEx: Detecting the certain cyrillic words
by programmer.perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |