regex.
if ( m/^https?\/\/:blah\.com/)
Can you correct my syntax? I can't get this to match:
if ($Scratch->{url} =~ /^https?\/\/:images\.google\./) {
The value of referrer is exactly:
http://images.google.
- Grant
> Hello, I need to do some special processing if the domain of a URL
> string matches a set of possible values. I'd like to catch http and
> https. What is the best way to do that?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/