From 9a669276f9f7bb36dbf3d4d00763a8b2c13a8976 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 6 Sep 2011 14:45:07 +0000 Subject: [PATCH] * account for (2010/I), (2010/II), etc naming year numbering scheme --- source/net/sourceforge/filebot/web/OpenSubtitlesXmlRpc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/web/OpenSubtitlesXmlRpc.java b/source/net/sourceforge/filebot/web/OpenSubtitlesXmlRpc.java index 02205f3f..dc2758e2 100644 --- a/source/net/sourceforge/filebot/web/OpenSubtitlesXmlRpc.java +++ b/source/net/sourceforge/filebot/web/OpenSubtitlesXmlRpc.java @@ -128,7 +128,7 @@ public class OpenSubtitlesXmlRpc { List movies = new ArrayList(); // title pattern - Pattern pattern = Pattern.compile("(.+)[(](\\d{4})[)]"); + Pattern pattern = Pattern.compile("(.+)[(](\\d{4})([/]I+)?[)]"); for (Map movie : movieData) { // match movie name and movie year from search result