Relax sFilterLeftInt to also match on integers which are followed by other chars.
..so we also match eg: '2/13' (-> 2)
This commit is contained in:
parent
a6442948fc
commit
a98eb36a1c
@ -49,7 +49,7 @@ public class MediaMetadataExtractor extends HashMap<String, ArrayList<String>> {
|
||||
/**
|
||||
* Regexp matching the first lefthand integer
|
||||
*/
|
||||
private static final Pattern sFilterLeftInt = Pattern.compile("^0*(\\d+)");
|
||||
private static final Pattern sFilterLeftInt = Pattern.compile("^0*(\\d+).*$");
|
||||
/**
|
||||
* Regexp matching anything
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user