* account for (2010/I), (2010/II), etc naming year numbering scheme
This commit is contained in:
parent
de9b5eb624
commit
9a669276f9
|
@ -128,7 +128,7 @@ public class OpenSubtitlesXmlRpc {
|
|||
List<MovieDescriptor> movies = new ArrayList<MovieDescriptor>();
|
||||
|
||||
// title pattern
|
||||
Pattern pattern = Pattern.compile("(.+)[(](\\d{4})[)]");
|
||||
Pattern pattern = Pattern.compile("(.+)[(](\\d{4})([/]I+)?[)]");
|
||||
|
||||
for (Map<String, String> movie : movieData) {
|
||||
// match movie name and movie year from search result
|
||||
|
|
Loading…
Reference in New Issue