Neos\Flow\I18n\Service::getScanBlacklistPattern PHP Method

getScanBlacklistPattern() protected method

Returns a regex pattern including enclosing characters, that matches any of the configured blacklist paths inside "Neos.Flow.i18n.scan.excludePatterns".
protected getScanBlacklistPattern ( ) : string
return string The regex pattern matching the configured blacklist
    protected function getScanBlacklistPattern()
    {
        $pattern = implode('|', array_keys(array_filter((array) $this->settings['scan']['excludePatterns'])));
        if ($pattern !== '') {
            $pattern = '#' . str_replace('#', '\\#', $pattern) . '#';
        }
        return $pattern;
    }