> $mypages = ListPages( array_merge( > $SearchPatterns['normal'], array('Sprites'=>'/^Sprites\\./'))); This was the magic part, I hadn't realised the $SearchPatterns arrays were actually the parameters to ListPages. Many thanks. Maxim