Switched regex-opt to apple-gcc42 to get it to build properly

regex-opt uses GCC extensions so it needs this patch to build.

This fixes #24980.