It seems (boolean)MatchPageNames returns 1 if no match to pattern is found. Is this supposed to be like this, or a bug? I would have expected it to return 0 or nothing if no match is found. I need a return of 1 only of a match is found. Hans