[Chapel Merge] Skip all tests in the regex directory if RE2 isn't

Branch: refs/heads/master
Revision: c17dba0
Author: bradcray
Log Message:

Merge pull request #17681 from bradcray/skip-regex-dir-no-re2

Skip all tests in the regex directory if RE2 isn't enabled

[trivial, not reviewed]

This moves a per-test .skipif to a directory-wide SKIPIF to ensure that this directory isn't tested if RE2 isn't enabled. I'm tempted to (a) move this directory under test/library and (b) add a .skipif to the directory as a whole, but am trying to take the minimal approach to fix a regression for the time being.

Modified Files:
A test/regex/SKIPIF

R test/regex/compileFailLeak.skipif

Compare: https://github.com/chapel-lang/chapel/compare/c450dd45b1ac...c17dba0db320