diff --git a/site_ansto/instrument/util/gen_sct.py b/site_ansto/instrument/util/gen_sct.py index 3381f3dd..b77a2b56 100755 --- a/site_ansto/instrument/util/gen_sct.py +++ b/site_ansto/instrument/util/gen_sct.py @@ -216,12 +216,12 @@ def t_tcl_error(t): t.lexer.skip(1) def t_TEXT_STRING1(t): - r'\'[^\']+\'' + r'\'[^\']*\'' t.value = t.value[1:-1] return t def t_TEXT_STRING2(t): - r"\"[^\"]+\"" + r"\"[^\"]*\"" t.value = t.value[1:-1] return t