On Sat, Sep 13, 2003 at 04:55:09PM +0200, Thomas Klahr wrote:

>Question:
>
>why does my filter: t.{0,13}e.{0,13}s.{0,13}t  
>
>doesnt work?? Please HELP!

I am afraid that the filter does not work as expected. Some weeks
ago I posted a filter question for version 7.15 into this forum
and nobody could help.

I suspect that the pattern matcher gets confused if there is more
than one quantifier or more than one alternative like
(this|that|other). (Can anyone confirm this?)

>I read this filter this way:: t with unknown 0-13 letters followed by e
                                                   ^^^^^^^
not only letters, any characters

>with unknown  0-13 letters followed by s ......
                    ^^^^^^^
dto.

>should match 
>test
>te   st  
>t e s t 
>t-e-s-t
>t<--!ddd-->e<--blabla->s<--!ddddsdd-->t 

Yes, it should.

By the way, `.' perhaps matches carriage returns also, as the
on-line help (version 7.15) on `\s' notes that carriage returns
are white space and in my opinion "any character" should be a
superset of "white space".

Regards, Friedhelm.

To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to