Regex pattern length limit

2015-12-01 Thread Robert Svoboda

Hi all,

I've been using two macros to filter () and delete
() messages based on pattern. This pattern has been
growing lately and I found out that mutt has some limit on the length of
the pattern. This limit seems to be around 250 characters. The pattern
is already longer than that and mutt silently drops the rest of the
pattern. I have two questions:

1. Is this a bug? AFAIK there's nothing in the fine manual about pattern
limited length. If the pattern is longer than the limit it should at
least warn the user about it, no?

2. Is there anything I can do to work around this?

Robert


signature.asc
Description: Digital signature


Re: Regex pattern length limit

2015-12-23 Thread Cameron Simpson

On 01Dec2015 17:21, Robert Svoboda  wrote:

I've been using two macros to filter () and delete
() messages based on pattern. This pattern has been
growing lately and I found out that mutt has some limit on the length of
the pattern. This limit seems to be around 250 characters. The pattern
is already longer than that and mutt silently drops the rest of the
pattern. I have two questions:

1. Is this a bug? AFAIK there's nothing in the fine manual about pattern
limited length. If the pattern is longer than the limit it should at
least warn the user about it, no?

2. Is there anything I can do to work around this?


If the pattern is THIS or THAT you could filter/delete on THIS and then again 
on THAT.


Can you should us the pattern or extlain its criteria?

Cheers,
Cameron Simpson