[Xfce4-commits] <tumbler:nick/cover-thumbnailer> Fix previous commit, . is also a word boundry.

Nick Schermer noreply at xfce.org
Wed Dec 12 22:10:01 CET 2012


Updating branch refs/heads/nick/cover-thumbnailer
         to 375d8b0504da9307ceb9a22189d6570e40b09ed1 (commit)
       from b227573dd4fc3461049dfde04d43cce3ff0696fc (commit)

commit 375d8b0504da9307ceb9a22189d6570e40b09ed1
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Dec 12 22:07:37 2012 +0100

    Fix previous commit, . is also a word boundry.

 plugins/cover-thumbnailer/cover-thumbnailer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/cover-thumbnailer/cover-thumbnailer.c b/plugins/cover-thumbnailer/cover-thumbnailer.c
index 3cbf9bf..34302e9 100644
--- a/plugins/cover-thumbnailer/cover-thumbnailer.c
+++ b/plugins/cover-thumbnailer/cover-thumbnailer.c
@@ -43,7 +43,7 @@
 
 
 #define SERIES_PATTERN    "\\b((?:s\\d{1,2}e\\d{1,2}|\\d{1,2}x\\d{1,2}))\\b"
-#define ABBREV_PATTERN    "\\b(\\w{1,}(?:rip|scr)|r5|hdtv|(?:480|720|1080)p|\\.\\w{3}$)\\b"
+#define ABBREV_PATTERN    "\\b(\\w{1,}(?:rip|scr)|r5|hdtv|(?:480|720|1080)p|\\w{3}$)\\b"
 #define YEAR_PATTERN      "\\b(\\d{4})\\b"
 
 #define OMDBAPI_QUERY_URL "http://www.omdbapi.com/?t="


More information about the Xfce4-commits mailing list