[Chapel Merge] Fix syntax warning in checkManPages with python3.12

Branch: refs/heads/main
Revision: 27beea5237e03d460b2c6cdd7a87c95351b70dbc
Author: jabraham17
Link: Fix syntax warning in checkManPages with python3.12 by jabraham17 · Pull Request #24865 · chapel-lang/chapel · GitHub
Log Message:
Fix syntax warning in checkManPages with python3.12 (#24865)

Fixes a syntax warning that would show in test/man/checkManPages when
the test system was run with python3.12. Similar to
update regex pattern in chplenv script to raw string by arezaii · Pull Request #24643 · chapel-lang/chapel · GitHub and
Fix sub_test error filtering for python 3.12 by jabraham17 · Pull Request #24664 · chapel-lang/chapel · GitHub

Not reviewed - trivial

Compare: Comparing 144322ada1ff7573f494040ba7396dc38827514f...d60a14a6dfa66b749f4323d9a6fa88c477eec53b · chapel-lang/chapel · GitHub

Diff:
M test/man/checkManPages
https://github.com/chapel-lang/chapel/pull/24865.diff