fix regex with gcc