1/18/2011, John W. Krahn jwkr...@shaw.ca вы писали:
Alexey Mishustin wrote:
1/18/2011, Grantemailgr...@gmail.com вы писали:
I came up with these but they don't seem to work reliably:
/\.google\..*\/imgres\?/
/\.google\..*\/images\?/
/\.google\..*\/products\?/
1/18/2011, Alexey Mishustin shum...@shumkar.ru вы писали:
I meant
(imgres)
OR
(images)
OR
(products)
Uri wrote the correct alternation for that:
(imgres|images|products)
So, I should write
/(www\.){0,1}(google\.).*\/(imgres|images|products)\?{0,1}/
--
Regards,
Alex
--
To unsubscribe,
AM == Alexey Mishustin shum...@shumkar.ru writes:
AM 1/18/2011, Uri Guttman u...@stemsystems.com вы писали:
AM == Alexey Mishustin shum...@shumkar.ru writes:
AM /(www.){0,1}(google\.).*\/(imgres)|(images)|(products)\?{0,1}/
{0,1} is just ? by itself.
AM Yes, I know. But I
AM == Alexey Mishustin shum...@shumkar.ru writes:
AM I used brackets not for storing but for combining in order to use the
AM combined patterns in alternation.
the point is parens (the correct term. brackets are []) is they will
grab the match inside them and store it in $1 and friends.
I have program which write data to SQL Database, one of my input field is €
but it was working fine all along one day one of my user was working from
home using remote connection to the office. He save some data when come back
found all data that include euro € character have
weird like BC�01
1/18/2011, Uri Guttman u...@stemsystems.com вы писали:
AM == Alexey Mishustin shum...@shumkar.ru writes:
AM /(www.){0,1}(google\.).*\/(imgres)|(images)|(products)\?{0,1}/
{0,1} is just ? by itself.
AM Yes, I know. But I like the {a,b} syntax more :) It's more uniform than
AM
1/18/2011, Uri Guttman u...@stemsystems.com вы писали:
AM == Alexey Mishustin shum...@shumkar.ru writes:
AM I used brackets not for storing but for combining in order to use the
AM combined patterns in alternation.
the point is parens
(the correct term. brackets are [])
Eh... Useful
AM == Alexey Mishustin shum...@shumkar.ru writes:
AM 1/18/2011, Alexey Mishustin shum...@shumkar.ru вы писали:
I meant
(imgres)
OR
(images)
OR
(products)
AM Uri wrote the correct alternation for that:
AM (imgres|images|products)
AM So, I should
AM == Alexey Mishustin shum...@shumkar.ru writes:
AM 1/18/2011, Uri Guttman u...@stemsystems.com вы писали:
AM == Alexey Mishustin shum...@shumkar.ru writes:
AM I used brackets not for storing but for combining in order to use the
AM combined patterns in alternation.
the
1/18/2011, Uri Guttman u...@stemsystems.com вы писали:
AM == Alexey Mishustin shum...@shumkar.ru writes:
AM 1/18/2011, Uri Guttman u...@stemsystems.com вы писали:
AM == Alexey Mishustin shum...@shumkar.ru writes:
AM I used brackets not for storing but for combining in order
Hi All.
what modules are out there that support ssl certificis that would work with WPL?
Sean
From: Uri Guttman u...@stemsystems.com
AM == Alexey Mishustin shumkarshumkar.ru writes:
AM I used brackets not for storing but for combining in order to use the
AM combined patterns in alternation.
the point is parens (the correct term. brackets are []) is they will
grab the match inside
Hi sync,
On Tuesday 18 Jan 2011 03:17:21 sync wrote:
Greetings all,
I have to send emails through a smtp server, with Chinese character
encoding.
In details , the encoding of my send mail is UTF-8, but the encoding of
others received is GB2321 , so it will apprears with weird
I have end up using ASCII Encoding instant of UTF-8
it does not find any thing if I use 'BC' . chr(0x20AC) . '01' then i
change to 'BC' . chr(0x80) . '01'
The following code works
if ( $euros eq 'BC' . chr(0x80) . '01' ) { # 0x20AC is the
hexadecimal value of €
# ...
}
which I
SF == Shlomi Fish shlo...@iglu.org.il writes:
SF Don't slurp files this way:
SF http://perl-begin.org/tutorials/bad-elements/#slurp
if you are going to show a slurp sub in your tutorial at least show a
good one. look at my slurp article in the File::Slurp distro for a
better and faster
I'm trying to check whether the given key exists in the hash.
The simple example:
use feature ':5.10';
my %a = (a = 1, b = 2);
say %a ~~ 'a' ? 'YES' : 'NO';# says NO -- why?
say %a ~~ 'c' ? 'YES' : 'NO';# says NO
say 'a' ~~ %a ? 'YES' : 'NO';# says YES
say 'c' ~~ %a ? 'YES' : 'NO';
VDB == Vladimir D Belousov maill...@klarnet.ru writes:
VDB I'm trying to check whether the given key exists in the hash.
smart matching is powerful and cool but why don't you just call exists
on the hash key? there is no win to using smart matching for that. it is
included for consistancy but
Hi all.
I cannot install any CPAN libraries because CPAN complains that I don't have a
64 bit Make executible. I have installed the Express 2010 C++ package from
Microsoft. It didn't help.
I couldn't find anything on the web that clearly indicated what was required to
resolve this issue. Any
19.01.2011 0:09, Uri Guttman пишет:
but why don't you just call exists on the hash key? there is no win to
using smart matching for that. it is included for consistancy but it
isn't needed for hash keys.
I just want to understand how does it work :)
--
To unsubscribe, e-mail:
On Tue, Jan 18, 2011 at 5:23 AM, Sean Murphy mhysnm1...@gmail.com wrote:
I cannot install any CPAN libraries because CPAN complains that I don't have
a 64 bit Make executible. I have installed the Express 2010 C++ package from
Microsoft. It didn't help.
I couldn't find anything on the web
The smart match is no longer commutative - That was removed after 5.10.1, I
think.
http://www.learning-perl.com/?p=32
http://perldoc.perl.org/perlsyn.html#Smart-matching-in-detail
Brian.
19.01.2011 0:43, Brian Fraser пишет:
The smart match is no longer commutative - That was removed after 5.10.1, I
think.
http://www.learning-perl.com/?p=32
http://perldoc.perl.org/perlsyn.html#Smart-matching-in-detail
Brian.
Thank you!
--
To unsubscribe, e-mail:
On Jan 17, 3:45 pm, dpchr...@holgerdanske.com (David Christensen)
wrote:
Ron Bergin wrote:
It's interesting that you found the warning message to be meaningless,
but the exact same message was helpful when you told the pragma to
raise the level of warnings to be fatal.
I should have said
- Original Message -
From: Sean Murphy mhysnm1...@gmail.com
To: beginners@perl.org
Sent: Tuesday, January 18, 2011 9:23 PM
Subject: Windows 7 64 bit Make.exe file
Hi all.
I cannot install any CPAN libraries because CPAN complains that I don't have
a 64 bit Make executible. I have
24 matches
Mail list logo