Fix compiler unwrapping step in jenkins build scripts for Caffe2/PyTorch on ROCm (#25409)
Summary:
Fix the regex (requires enabling extglob) for two digit clang releases.
While there, also fix it for three digit releases with the hope that I
do not need to touch it for some time.
Unfortunately, this regex requires extglob to be enabled in the shell.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/25409
Differential Revision: D17431786
Pulled By: bddppq
fbshipit-source-id: a50b2ff525d9b6046deae9c8725c92d67119599a