We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7f5117 commit 4f08766Copy full SHA for 4f08766
scripts/py_matter_yamltests/matter_yamltests/parser.py
@@ -1225,7 +1225,7 @@ def _config_variable_substitution(self, value):
1225
# But some other tests were relying on the fact that the expression was put 'as if' in
1226
# the generated code and was resolved before being sent over the wire. For such
1227
# expressions (e.g 'myVar + 1') we need to compute it before sending it over the wire.
1228
- tokens = re.split("[- ()|+*/%]", value)
+ tokens = re.split("([- ()|+*/%])", value)
1229
if len(tokens) == 0:
1230
return value
1231
0 commit comments