Thread View: news.software.readers
2 messages
2 total messages
Started by VanguardLH
Sat, 27 Sep 2008 07:14
40tude: Do I match on the entire string or a substring
Author: VanguardLH
Date: Sat, 27 Sep 2008 07:14
Date: Sat, 27 Sep 2008 07:14
8 lines
1668 bytes
1668 bytes
Sometimes it still gets confusing just when 40tude Dialog will trigger
on a filter when using regex. Say I have the filter:
!delete From {regex}
Does that regex have to match on the entire string or just find a
substring within it? That is, am I striving for a whole-string match or
a substring find?
Re: 40tude: Do I match on the entire string or a substring
Author: Sqwertz
Date: Sun, 28 Sep 2008 02:28
Date: Sun, 28 Sep 2008 02:28
14 lines
1918 bytes
1918 bytes
VanguardLH <V@nguard.LH> wrote:
> Sometimes it still gets confusing just when 40tude Dialog will trigger
> on a filter when using regex. Say I have the filter:
>
> !delete From {regex}
>
> Does that regex have to match on the entire string or just find a
> substring within it? That is, am I striving for a whole-string match or
> a substring find?
Substring unless you're using ^...$
-sw
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads