Re: [Evolution] Case insensitive regexp based message filter
- From: Patrick O'Callaghan <poc usb ve>
- To: evolution-list gnome org
- Subject: Re: [Evolution] Case insensitive regexp based message filter
- Date: Wed, 01 Oct 2014 21:59:22 +0100
On Wed, 2014-10-01 at 14:41 -0400, Dragan Jurkovic wrote:
Is it possible to specify regexp based message filter to match case
insensitive pattern? I tried "(?i)pattern" but Evo is complaining about
invalid regexp. "/pattern/i" does not work as well.
Platform Evolution 3.10.4 on Ubuntu 14.04.
I don't think so.
According to the Evo Help, the regexp follows grep(1) syntax. Grep can
search for case-insensitive patterns if invoked with the "-i" flag, but
has no built-in way to express case-insensitivity as a pattern (other
than laboriously giving every upper and lower case alternative as in
[Pp][Aa][Tt][Ee][Rr][Nn]
Note that grep itself can de told to default to case-insensitive by
setting the environment variable GREP_OPTIONS="--ignore-case", but I
don't think that will affect Evo. Perhaps a Request For Enhancement is
in order.
poc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]