Skip to content

Commit 38ca39f

Browse files
committed
Allow parentheses in BaseRule parsing.
1 parent 903108b commit 38ca39f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/mx/_impl/mx_benchmark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,8 +1006,8 @@ def parseResults(self, text: str) -> Sequence[dict]:
10061006

10071007
def parse(self, text) -> Iterable[DataPoint]:
10081008
datapoints: List[DataPoint] = []
1009-
capturepat = re.compile(r"<([a-zA-Z_][0-9a-zA-Z_.]*)>")
1010-
varpat = re.compile(r"\$([a-zA-Z_][0-9a-zA-Z_]*)")
1009+
capturepat = re.compile(r"<([a-zA-Z_\(\)][0-9a-zA-Z_.\(\)]*)>")
1010+
varpat = re.compile(r"\$([a-zA-Z_\(\)][0-9a-zA-Z_\(\)]*)")
10111011
for iteration, m in enumerate(self.parseResults(text)):
10121012
datapoint = {}
10131013
for key, value in self.replacement.items():

src/mx/mx_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# The version must be updated for every PR (checked in CI) and the comment should reflect the PR's issue
2-
version = "7.65.2" # GR-70861 annotation processor output
2+
version = "7.65.3" # GR-71162 Allow parentheses in BaseRule parsing.

0 commit comments

Comments
 (0)