Open
Description
I found that it will be very useful to have some simple matches in code, like:
public static final String PATTERN = "example://data/{param}/something";
/* pseudo code */
public static boolean isMatch(final String uri){
final DpMatch m = DeepLink.match(PATTERN, uri);
if( m.isSuccess() ){
final String value = m.getValue( "{param}" );
return "expected".equals(value);
}
return false;
}