App link in android is not a real regex, but in the developer documentation, since API 26, there is a PATTERN_ADVANCED_GLOB that can do a little bit more that before.
PATTERN_ADVANCED_GLOB added in API level 26
Pattern type: the given pattern is interpreted with a regular expression-like syntax for matching against the string it is tested against. Supported tokens include dot (.) and sets ([...]) with full support for character ranges and the not (^) modifier. Supported modifiers include star (*) for zero-or-more, plus (+) for one-or-more and full range ({...}) support. This is a simple evaluation implementation in which matching is done against the pattern in real time with no backtracking support.
But when i try to use, it doesn't work, I tried:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="http"
android:host="www.example.com"
android:pathPattern="/[A-Z]+" />
</intent-filter>
and try to use with the URL: www.example.com/ABC
as documentation said [] is range([A-Z]) and the + would be one-or-more
does any one used that before? or know why it's not working?