make regex global