[RFC] regular expression support in config files (try 2), help needed

Oleh Nykyforchyn oleh.nyk at gmail.com
Tue May 31 09:02:43 PDT 2011

On Tue, 31 May 2011 16:06:02 +0300
Oleh Nykyforchyn <oleh.nyk at gmail.com> wrote:

> Add extended regexes support to InputClass Match* statements (try 2)
> Any number of patterns can be written in one line either as
>       MatchProduct "foo|!bar" "something|re:^else$" "you" "!regex:n..d"
> or as
>       MatchProduct "foo" "!bar|something" "regex:~else$" "you|!re:n..d"
> etc. A regex ends at the end of the respective "piece", irrespective of '|'s.
Got it to compile, but errors in lists processing occurs. Can someone tell
me how to correctly get many string tokens after e.g. MatchProduct,
but not including next MatchIs* ? xf86unGetToken() does not do what I expect.

Best regards,

More information about the xorg-devel mailing list