bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mail regex


From: Alain Magloire
Subject: mail regex
Date: Tue, 7 Aug 2001 23:41:07 -0400 (EDT)

> 
> 2. A /../ specification (match on the subject line) simply does an
> strstr comparison. What if we implement regexps?

I've put quickly an implementation for this see msgset.y(select_subject)
You will have to enable it by hand -DHAVE_REGEXEC.

- providing support for this will force the link of regex suite
  which is big and sometime not available.
  We could drop GNU regex in mailutils/lib/regex.c and fallback to it
  for system missing it .. but still.

- If I want to search explicitly for substring in subject that contains
  metachars '* < > ? . $' etc .. it is impossible.

For those reason I'm little hesitant to put this feature ...
Comments?
 
--
alain




reply via email to

[Prev in Thread] Current Thread [Next in Thread]