Re: [PATCH] Add support to match arbitrary text

From: Joe Perches
Date: Tue Jan 25 2011 - 09:23:14 EST

On Tue, 2011-01-25 at 00:32 +0100, L. Alberto GimÃnez wrote:
> Signed-off-by: L. Alberto GimÃnez <agimenez@xxxxxxxxxxx>
> index cf0f3a5..c1e33ac 100644
> @@ -6145,6 +6145,7 @@ TRIVIAL PATCHES
> M: Jiri Kosina <trivial@xxxxxxxxxx>
> T: git git://
> S: Maintained
> +K: ^Subject:.*\[(?i)trivial\].*

The trailing .* isn't necessary.

This matches just case insensitive "[trivial]".

Looking at the trivial patches posted:
that's not a very good matching pattern.

Maybe this is better:

K: ^(?i:subject):.*(?i:trivial)\s*[:,\]]

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at