Mail Index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ApacheGallery] .THM files.
On Fri, Sep 16, 2005 at 09:11:06AM +0200, Arne wrote:
> Hi,
>
> 15.09.2005 23:49 Chris wrote:
>
> > $tmpfilename =~ s/\.(\w+)$/.thm/;
> > +$tmpfilename =~ s/\.(\w+)$/.THM/;
>
> I think with only one added charakter
>
> $tmpfilename =~ s/\.(\w+)$/.thm/i;
>
> would do the trick either.
In fact, it might help to catch files with some strange names, like .Thm and
combinations ;)
Yep, not usual, but sometimes... it happens.
--
Jesus Climent info:www.pumuki.org
Unix SysAdm|Linux User #66350|Debian Developer|2.6.12|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429 7E18 66FC 1D7F 8694 6D69
Wait Master, it might be dangerous... you go first.
--Igor (Young Frankenstein)
_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers