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

_______________________________________________
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to