protected function determineTriggerType($trigger)
    {
        $wildcards = [
            'alphabetic' => '/_/',
            'numeric'    => '/#/',
            'global'     => '/\*/',
        ];

        foreach ($wildcards as $type => $pattern) {
            if (@preg_match_all($pattern, $trigger, $stars)) {
                return $type;
            }
        }

        return 'atomic';
    }