Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 399
Zeile 369... Zeile 369...
369
     * @param  string  $pattern
369
     * @param  string  $pattern
370
     * @return bool
370
     * @return bool
371
     */
371
     */
372
    protected function channelNameMatchesPattern($channel, $pattern)
372
    protected function channelNameMatchesPattern($channel, $pattern)
373
    {
373
    {
374
        return preg_match('/'.preg_replace('/\{(.*?)\}/', '([^\.]+)', $pattern).'$/', $channel);
374
        return preg_match('/^'.preg_replace('/\{(.*?)\}/', '([^\.]+)', $pattern).'$/', $channel);
375
    }
375
    }
376
}
376
}