change coordPattern regex to allow for leading whitespace