Re: Are ttl_patterns case-sensitive?

From: John Saunders <John.Saunders@dont-contact.us>
Date: Tue, 27 Aug 1996 11:00:28 +1000 (EST)

On Mon, 26 Aug 1996, Duane Wessels wrote:

> alessio@unipi.it writes:
>
> >The regex used for ttl_patterns are case-sensitive?
> >
> >Does ".gif$" cover image.GIF as well or we need to add another rule?
>
> They are case-sensitive. You should add another rule, or modify

Since it's a real regular expression, he could modify the rule to read:
        ".[gG][iI][fF]$"
Which would provide a fully case insensitive match. Otherwise covering all
cases would require 8 rules.

Or he could modify the code as you say. But that would require
re-modification for each new version which is a pain to remember.

Cheers.
-- +--------------------------------------------------------------+
        . | John Saunders - John.Saunders@scitec.com.au (Work) |
    ,--_|\ | - john@nlc.net.au (Home) |
   / Oz \ | - http://www.nlc.net.au/~john/ |
   \_,--\_/ | SCITEC LIMITED - Phone +61 2 9428 9563 - Fax +61 2 9428 9933 |
         v | "Alcatraz triathalon: dig, swim, run" |
              +--------------------------------------------------------------+
Received on Mon Aug 26 1996 - 18:13:52 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:51 MST