Fix regex reported by brakeman check.