On Thu, Apr 25, 2013 at 6:05 PM, ik wrote:
> try this
>
> #!/usr/bin/env perl -w
> #
>
> use v5.14;
> use utf8;
>
> my $text = 'שלוabv';
>
> if ($text =~ /^[\x{5D0}-\x{5ea}]{3}/) {
> say "yes";
> } else {
> say "no";
> }
I'd probably use \p{IsHebrew} or \p{InHebrew} instead of the hexa cod
Daniel Shahaf wrote on Thu, Apr 25, 2013 at 22:36:31 +0300:
> Tangentially related, I couldn't give my password if I wanted to: I'm
> a touch-typist, so I have my password wired in muscle memory, but
> I never memorized the string value, so I wouldn't be able to give that
> verbally or write it on
Tangentially related, I couldn't give my password if I wanted to: I'm
a touch-typist, so I have my password wired in muscle memory, but
I never memorized the string value, so I wouldn't be able to give that
verbally or write it on paper --- I can only recover it by using
a qwerty keyboard.
I'm not
On 04/25/2013 04:23 PM, Tzafrir Cohen wrote:
> Off topic, but may be interesting:
I'll re-order the quoted excerpts to put the technical/on-topic part of
the response first. The non-technical/off-topic considerations may be
skipped, unless you are inerested in my opinions.
> Any existing so
try this
#!/usr/bin/env perl -w
#
use v5.14;
use utf8;
my $text = 'שלוabv';
if ($text =~ /^[\x{5D0}-\x{5ea}]{3}/) {
say "yes";
} else {
say "no";
}
On Thu, Apr 25, 2013 at 5:47 PM, Ori Idan wrote:
>
>
>
> On Thu, Apr 25, 2013 at 5:21 PM, ik wrote:
>
>>
>> On Thu, Apr 25, 2013 at 5:17
On Thu, Apr 25, 2013 at 5:17 PM, Ori Idan wrote:
> I have a script in perl where I read lines from a UTF-8 text file.
> I have to find out if a line contains at least 3 letters in Hebrew.
>
> How can this be done in perl?
>
What is your Perl version ?
>
> --
> Ori Idan
>
>
> __
I have a script in perl where I read lines from a UTF-8 text file.
I have to find out if a line contains at least 3 letters in Hebrew.
How can this be done in perl?
--
Ori Idan
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.
On 04/25/2013 04:23 PM, Tzafrir Cohen wrote:
> Off topic, but may be interesting:
>
> I heard recently that it is now legal for the security checks in the Ben
> Gurion airport to require that I show my mail account.
>
> Any existing software to automatically (and periodically) generate email
> on a
Not just here, also in the US, and Europe they can search
computer/storage devices without a warrant when passing the border
2013/4/25 E.S. Rosenberg :
> Not just here, also in the US, and Europe they can search
> computer/storage devices without a warrant when passing the border
>
> 2013/
Off topic, but may be interesting:
I heard recently that it is now legal for the security checks in the Ben
Gurion airport to require that I show my mail account.
Any existing software to automatically (and periodically) generate email
on a mailbox which will appear to be used, so if anybody want
10 matches
Mail list logo