From 4ea2dde800d002333204c11e37c582de81c5c07f Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Mon, 30 Nov 2020 21:07:42 +0100 Subject: [PATCH] add ":" allowed char in instance names , this disappeared during the parselabel.l rewrite --- src/parselabel.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parselabel.l b/src/parselabel.l index 7c0ec6cc..aecdeea1 100644 --- a/src/parselabel.l +++ b/src/parselabel.l @@ -151,8 +151,8 @@ IDX_LAB_NUM_SP [-a-zA-Z_%$~"#/\\<> \t0-9*+().] IDX_ID_N ({LAB_NUM}+({IDX_LAB_NUM_SP}*{LAB_NUM})*) /* identifier, not starting with a number */ IDX_ID (("("|{LAB})+{IDX_LAB_NUM_SP}*) - /* includes numbers and space and +(). */ -LAB_NUM_SP [-a-zA-Z_%$~"#/\\<> \t0-9+().] + /* includes numbers and space and +(). and :*/ +LAB_NUM_SP [-a-zA-Z_%$~"#:/\\<> \t0-9+().] /* identifier, may start with a number */ ID_NUM ({LAB_NUM}+({LAB_NUM_SP}*{LAB_NUM})*) /* identifier, not starting with a number */