From: Dana Jansens Date: Wed, 26 Mar 2003 08:43:38 +0000 (+0000) Subject: fields must not start or end with '-' X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=d7b6c79c412c8067e30451c6e7a8f31266644efa;p=chaz%2Fopenbox fields must not start or end with '-' --- diff --git a/plugins/mouse/mouserc_parse.l b/plugins/mouse/mouserc_parse.l index 6e577d89..c00728c1 100644 --- a/plugins/mouse/mouserc_parse.l +++ b/plugins/mouse/mouserc_parse.l @@ -21,7 +21,7 @@ static void gotfield(); static void addbinding(); %} -field [-A-Za-z0-9]+ +field [A-Za-z0-9][-A-Za-z0-9]*[^-] sep [ \t]+ white [ \t]*