From d7b6c79c412c8067e30451c6e7a8f31266644efa Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 26 Mar 2003 08:43:38 +0000 Subject: fields must not start or end with '-' --- plugins/mouse/mouserc_parse.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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]* -- cgit v1.2.3