Re: [PATCH] tags: fix regex passed to etags and ctags

From: Stephen Boyd
Date: Mon Feb 06 2012 - 18:05:29 EST


On 02/06/12 12:40, Stephen Hemminger wrote:
> Several of the regular expressions passed to etags and ctags where incorrect
> and missing the backslash before the closing paren, causing warning:
> etags: Unmatched ( or \( while compiling pattern
>
> Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxx>
>
> ---
> v2 - cover all regex (not just etags)
>

Ok one more problem (my eyes hurt with all these parentheses).

--regex-c++='/PAGEFLAG\(([^,)]*\).*/Page\1/'


should be

--regex-c++='/PAGEFLAG(\([^,)]*\).*/Page\1/'


so that PAGEFLAG(Foo, ...) becomes PageFoo and not Page(Foo

After that:

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/