On Fri, Oct 22, 2010 at 11:38 AM, Ryan Bilesky <rbilesky at gmail.com> wrote:
> if ( preg_match("\A/%(?:postname|category|tag|author)%/",
> $this->permalink_structure) )
>
You have to have a delimiter, preferably something different from '/' in
this case:
if ( preg_match("#\A/%(?:postname|category|tag|author)%#",
$this->permalink_structure) )