[Chapel Merge] Fix regex serialization with --no-remote-value-for

Branch: refs/heads/main
Revision: c253b85
Author: aconsroe-hpe
Link: Fix regex serialization with --no-remote-value-forwarding by aconsroe-hpe · Pull Request #18713 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18713 from aconsroe-hpe/regex-no-rvf

Fix regex serialization with --no-remote-value-forwarding

Reviewed by @ronawho