protected function getEscapeMap()
    {
        if ($this->escapeMap === null) {
            $escapeMap = [
                $this->anyCharacterWildcard => $this->escapeCharacter . $this->anyCharacterWildcard,
                $this->oneCharacterWildcard => $this->escapeCharacter . $this->oneCharacterWildcard,
                $this->escapeCharacter => $this->escapeCharacter . $this->escapeCharacter,
            ];
            foreach ($this->otherWildcards as $otherWildcard) {
                $escapeMap[$otherWildcard] = $this->escapeCharacter . $otherWildcard;
            }
            $this->escapeMap = $escapeMap;
        }

        return $this->escapeMap;
    }