I’m looking to white list all of the pages under a subdirectory but no pages underneath that.
I am attempting to use the following regex match as a whitelist rule with a negative lookahead:
/page/.+/(?!.+)
Basically I want to get all the pages under page, but none of the pages that may exist under any of those pages. Is this regex possible? I believe I could do a blacklist for those items but saw that would make indexing slower and while that’s not a deal breaker I was hoping I could just create a clear whitelist rule that would perform the same function.