Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
Youtube ad should be blocked
Actual Behaviour:
A preroll ad shows up on an iPhone X, but doesn't on my Mac, however the link shows up in the query log, which seems to match the regex.
log excerpts from /var/log/pihole/pihole.log showing
-- a request blocked as expected (Mac)
-- a forwarded request that should also have been blocked (iPhone)
It would be most useful to see all log lines for a blocked query (originating from your Mac) and a forwarded query (originating from your iPhone) each, so we could take a closer look at the differences you state to have observed for different clients.
For that domain from your logs, none of your regexs would produce a match when run through Pi-hole's regex test mode:
After some regex crafting, I got this regex which seems to work on Pi-Hole .*sn-[a-zA-Z0-9]*.[a-zA-Z0-9]*\.googlevideo\.com
I'll tell you if it works
(and also, pihole doesn't like \d and \w)