Adding skipif condition to make sure we don't test if compiler wasn't built with regexp

git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@23661 3a8e244f-b0f2-452b-bcba-4c88e055c3ca