location

The location in the pattern where the error was encountered

InvalidPattern.swift:7
var location: String.Index