Find All Git Sendmail Cover Letters Using A Regex In Gmail

56 views Asked by At

I'm trying to get...

\[(RFC )?(PATCH )(RFC )?([vV]\d+ )?(0+\/\d+)\]

Which matches the likes of:

[PATCH v1 000/100] Test
[PATCH 0/2] Test
[PATCH 00/11] Test
[RFC PATCH 0/7] Test
[PATCH V1 000/100] Test
[PATCH RFC 0/7] Test

...working as a Gmail rule. I'm guessing it's not working because of the differences between PCRE & RE2 that Gmail uses.

Does anyone have any tricks that'll allow me to filter the Cover Letters into it's own Label?

The first bit works but it seems to not like the [vV] or even the (0+/\d+) on its own

0

There are 0 answers