WordPress search function

I'm using different leveled groups to allow/disallow certain pages/posts from showing.

The WordPress search originally would only give me an "access denied" page until I added the regular expression "COMPANYURL/\?.*" to the URL group and now it at least gives me a "Nothing Found" result, even though it is not correct. What other regular expressions do I need to add to the URL group or what other setup do I need to do to get search working properly.

(I'm testing with a URL Group that has full access to the site and yet search doesn't return results I expect.)

Thanks