Android Pathpattern ((install)) 〈iOS Recent〉

You can create a PathPattern object directly or through the use of PathPattern.compile() method which is recommended for creating patterns. The pattern can include:

Wait — that’s confusing. Let's clarify. android pathpattern

If you want to match slashes, you need .* : You can create a PathPattern object directly or

This matches any URL whose path begins with /articles/ , no wildcards needed. android pathpattern

Example:

Does match:

This is the most common scenario: You want your app to open any URL under /products/ .