I have implemented deep linking to my app successfully but I am stuck with a problem.
If I understand your problem correctly you want to exclude a particular URL from a certain list of URLs. What you tried was a good way to do that.
android:pathPattern doesn't understand the complicated regex pattern as you said.
I think the only way to solve your problem is to change the URL which you want to omit. Change the host or a part of that URL, or change the name example.com to, say, example2.com/hello/redirect/.