On Fri, 27 Feb 2004, Bart Schaefer wrote:

> On Fri, 27 Feb 2004, Matthias Fuhrmann wrote:
>
> > > > Looking at the Tripwire tests they appear to be case sensitive. Is 
> > > > there a
> > > > reason for this? How would I modify the test to be case insensitive?
> > > >
> > > > body  TW_AJ  /[-<!\s]\w{0,10}aj[fqtvxz]\w{0,10}[->\s]/
> > >
> > > just add a i to the regex:
> > >
> > > body  TW_AJ  /[-<!\s]\w{0,10}aj[fqtvxz]\w{0,10}[->\s]/i
> >
> > oh, sorry, i at the end seems false.
>
> Eh?  Why do you say so?  That should be exactly right.
>
> > but man perlre says this:
> >  i   Do case-insensitive pattern matching.
> >
> > so a /i infront of your desiered letters might help.
>
> I don't know what you're suggesting, there.

now rereading, it seems ok ... :D

regards,
Matthias

Reply via email to