Skip to content

Commit

Permalink
Fix regular expressions in usemath test with updated chapeldomain
Browse files Browse the repository at this point in the history
Signed-off-by: Danila Fedorin <[email protected]>
  • Loading branch information
DanilaFe committed Mar 5, 2024
1 parent ed27104 commit 4d4a8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/library/standard/Math/docs/usemath.doc.prediff
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ for l in lines:
name = m.group(1)
sets[state].add(name)
# add params
for m in re.finditer(r'param (\S*?) =', l):
for m in re.finditer(r'param (\S*?) +=', l):
name = m.group(1)
sets[state].add(name)
# parenless proc params
for m in re.finditer(r'proc (\S*?) param', l):
for m in re.finditer(r'proc (\S*?) +param', l):
name = m.group(1)
sets[state].add(name)
# check for deprecated and remove
Expand Down

0 comments on commit 4d4a8a9

Please sign in to comment.