Alexey Mishustin wrote:
1/18/2011, "Grant" вы писали:
I came up with these but they don't seem to work reliably:
/\.google\..*\/imgres\?/
/\.google\..*\/images\?/
/\.google\..*\/products\?/
/(www.){0,1}(google\.).*\/(imgres)|(images)|(products)\?{0,1}/
That says:
(www.){0,1}
Match a fo
1/18/2011, "Uri Guttman" вы писали:
>> "AM" == Alexey Mishustin writes:
>
> AM> /(www.){0,1}(google\.).*\/(imgres)|(images)|(products)\?{0,1}/
>
>{0,1} is just ? by itself.
Yes, I know. But I like the {a,b} syntax more :) It's more uniform than
?,+,* etc.
>you don't need to grab things t
> "AM" == Alexey Mishustin writes:
AM> /(www.){0,1}(google\.).*\/(imgres)|(images)|(products)\?{0,1}/
{0,1} is just ? by itself.
you don't need to grab things that are not used later on. also why grab
each trailing word separately which means it will be hard to tell what
word was there.
1/18/2011, "Alexey Mishustin" вы писали:
>
>1/18/2011, "Grant" вы писали:
>
>>> I'm trying to come up with a regex that will match any Google Images
>>> URL such as these:
>>>
>>> www.google.com/imgres
>>> www.google.com/images
>>> google.com/imgres
>>> www.google.co.uk/imgres
>>> www.google.nl
1/18/2011, "Grant" вы писали:
>> I'm trying to come up with a regex that will match any Google Images
>> URL such as these:
>>
>> www.google.com/imgres
>> www.google.com/images
>> google.com/imgres
>> www.google.co.uk/imgres
>> www.google.nl/imgres
>>
>> and a second regex for Google Products UR
> I'm trying to come up with a regex that will match any Google Images
> URL such as these:
>
> www.google.com/imgres
> www.google.com/images
> google.com/imgres
> www.google.co.uk/imgres
> www.google.nl/imgres
>
> and a second regex for Google Products URLs of which this is one example:
>
> www.go
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" characters.
Does anyone has any working example or any suggestio
I'm trying to come up with a regex that will match any Google Images
URL such as these:
www.google.com/imgres
www.google.com/images
google.com/imgres
www.google.co.uk/imgres
www.google.nl/imgres
and a second regex for Google Products URLs of which this is one example:
www.google.com/url?sa=t&sou
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 nearly the same message. Both messages told you where
the problem was located
Shawn H Corey wrote:
Have you looked at `perldoc autodie` yet? I don't know if it'll die on
warnings though.
Yes, thank you. autodie doesn't seem to be a base package (on my
platform), so I continued searching and found:
use warnings FATAL => 'all';
which is a better solution for what
Have you looked at `perldoc autodie` yet? I don't know if it'll die on
warnings though.
--
Just my 0.0002 million dollars worth,
Shawn
Confusion is the first step of understanding.
Programming is as much about organization and communication
as it is about coding.
The secret to great
On Mon, Jan 03, 2011 at 05:28:06PM -0600, Alvaro Mantilla Gimenez wrote:
> On Tue, 28 Dec 2010, Shlomi Fish wrote:
>
> >On Monday 27 Dec 2010 21:44:05 Alvaro Mantilla Gimenez wrote:
> >>Hi,
> >>
> >> I think it is not fair to pointing the reader out directly to Linux.
> >>There are other systems
12 matches
Mail list logo