Re: [Evolution] Multi Line Regex Questions



On Fri, 2021-07-09 at 15:11 +0200, Matt Kettlewell via evolution-list
wrote:
I basically have some HTML in a message that looks something like
this:

   BEGIN:</th>=20

        Hi,
just a note, what you see in the message source is encoded in quoted-
printable, your filter will not receive "=20", but " " (a space)
instead.

I've tried various iterations of regex, but I think I'm bumping up
against Evolution using ERE and not PCRE

I cannot speak much about this, I'm sorry. The code seems to use the
extended regular expression. I do not see the `regcomp` function having
any flag for the PCRE, it knows only basic and extended regular
expressions. The GLib's Regex implementation seems to be built on top
of the PCRE, though it's not used in this part of the libcamel, which
is included in the evolution-data-server project.

I do see that there are other options for filtering, such as the free
form expression ( as documented in this bugzilla
comment: https://bugzilla.gnome.org/show_bug.cgi?id=550796#c10 ),
however, it's unclear to me if that's going to help me
here or not... 

The Free Form Expression is just an easier way of writing conditions,
instead of using the GUI for it. It uses the same code in the
background.
        Bye,
        Milan



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