[Chapel Merge] Make memleaks silencing regex do what it says

Branch: refs/heads/main
Revision: 0e57e70f45cff041298e594c425431cf4e5a0055
Author: DanilaFe
Link: Make memleaks silencing regex do what it says by DanilaFe · Pull Request #28960 · chapel-lang/chapel · GitHub
Log Message:
Make memleaks silencing regex do what it says (#28960)

The comment says:

The lines starting with these words report leak stats.

But then, it greps for lines that contain the word anywhere in their
body. I suppose this was masked by the fact that no line contained the
word "list" or "dict", but now that the word "tuple" is included,
unrelated lines are catching strays and getting reordered. Adjust the
regex to expect the words at the start of a line.

Testing

  • test/library/packages/Python/memleaks

Reviewed by @arifthpe -- thanks!

Compare: Comparing be5b5344da3e504c9c35586f7e11ee907d918d70...7ab1c8f22a96929b6daf9252a486d8b9d3a6436b · chapel-lang/chapel · GitHub

Diff:
M test/library/packages/Python/memleaks/PREDIFF
https://github.com/chapel-lang/chapel/pull/28960.diff