summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-26 08:43:38 +0000
committerDana Jansens <danakj@orodu.net>2003-03-26 08:43:38 +0000
commitd7b6c79c412c8067e30451c6e7a8f31266644efa (patch)
tree0e9c4890921b868d4b65b92b6f48984953773c26 /plugins
parent0c69d23c24c91bc540b9c47042c3da791d0c20ba (diff)
fields must not start or end with '-'
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mouse/mouserc_parse.l2
1 files changed, 1 insertions, 1 deletions
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]*