Tips

Android manifest pathAdvancedPattern with optional words, is it possible?

Pinterest LinkedIn Tumblr

So I am trying to implement app links from web search to open the app and I want it to use regex to match the below URL example…

/(url-1|url-2)/

Where it can be either of those strings, but it doesn’t seem to work. Is this possible in the pattern matcher?

Anywhere exists a tool to test this, can’t seem to find any other than generic regex testers which are different to the android format here.

Vishal Swami is a hardcore Android programmer and Android programming has been his passion since he compiled his first hello-world program. Solving real problems of Android developers through tutorials has always been an interesting part for him.

24 Comments

Write A Comment