From 4d4a8a9104b85c1e7cd3b0adb57852ea83b48828 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 5 Mar 2024 13:41:34 -0800 Subject: [PATCH] Fix regular expressions in usemath test with updated chapeldomain Signed-off-by: Danila Fedorin --- test/library/standard/Math/docs/usemath.doc.prediff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/library/standard/Math/docs/usemath.doc.prediff b/test/library/standard/Math/docs/usemath.doc.prediff index 9693269ef9cd..d613d94afee3 100755 --- a/test/library/standard/Math/docs/usemath.doc.prediff +++ b/test/library/standard/Math/docs/usemath.doc.prediff @@ -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