[compiz] [PATCH] Case insensitive matching for the regex plugin

Mike Dransfield mike at blueroot.co.uk
Thu Jun 21 06:03:10 PDT 2007


Danny Baumann wrote:
> Hi,
>
> I have created an addition to the regex plugin that allows case
> insensitive matching for title/class/name/role. To enable the case
> insentive matching, I chose to prepend an 'i' before the tag (ititle=,
> iclass=, ...). The patch is obviously attached ;-)
>
> Are there any objections against putting this code in?
>   

No objections as such, but maybe it would be better
to make the regex plugin be case-insensitive by default
and if necessary, add an option to be case-sensitive.

I cannot think of any real-world cases where the average
user would want case-sensitive.  In fact it leads to a lot of
support issues when matching by class.

Regards
Mike

> Regards,
>
> Danny
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> compiz mailing list
> compiz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/compiz
>   



More information about the compiz mailing list