Troy May wrote at Wed, 03 Jul 2002 07:58:10 +0200:

> Hello, I'm trying to match images by the extension.  Either .jpg or .gif
> 
> Here's what I wrote:
> 
> $plup =~ m/\(\^\.\.gif\|\^\.\.jpg)/\
> 
> Is it all screwed up?  I'm not real good with regexes.

$plup =~ /\.(gif|jpg)$/;


Greetings,
Janek

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to