Re: [PATCH -perf/perf/core 4/6] perf: Add strfilter for general purpose string filter

Peter Zijlstra
2011-01-13T13:01:23Z

On Thu, 2011-01-13 at 21:46 +0900, Masami Hiramatsu wrote:
> Format:
> <rule> ::= <glob-exp> | "!" <rule> | <rule> <op> <rule> | "(" <rule> ")"
> <op> ::= "&" | "|"
>
> e.g.
> "(add* | del*) & *timer" filter rules pass strings which
> start with add or del and end with timer.

Why not simply use regexps?