I don't really know the first thing about Cyrillic, so you'll probably have
to play around with this before making it work like you want it to. It makes
use of Unicode character properties, which you can start learning from
perluniprops[0]:
$text =~ s/[\p{Cyrillic}\p{Block: Cyrillic}\p{Block:
Cyri
Wernher Eksteen wrote:
Hi,
Hello,
The Perl script (shown further down below) gives me the following
output (without the comments).
Please note that this is not the complete output, I only show the
necessary detail for sake of clarity.
emcpowerasdbd sddg sdfj sdhm #<- [1st forea
Hi,
The Perl script (shown further down below) gives me the following
output (without the comments).
Please note that this is not the complete output, I only show the
necessary detail for sake of clarity.
emcpowerasdbd sddg sdfj sdhm # <- [1st foreach loop output]
emcpoweraa s
On Fri, 01 Apr 2011 10:51:58 +0300, Shlomi Fish wrote:
> 2. The problem with 1E9 is that I think it's a floating point number
> (though Perl 5 may have some intelligence there). Not sure it matterns a
> lot for Perl but if you do something like 1.27E9 you may get weird
> side-effects due to:
Yup,
Hi,
I am working on a script where I have strings that contain an English
string followed by the Cyrillic translation. For now, I am looking for a
way to strip out the Cyrillic characters and and leave the English ones.
I have tried a simple regular expression such as :
$text =~ s/Surname.+/