From ddeeed81b01e746991c728cd9b0d5c64d68db5d0 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 6 Nov 2010 11:35:43 +0000 Subject: [PATCH] * fix fix --- build.xml | 4 ++-- .../sourceforge/filebot/format/ExpressionFormat.lib.groovy | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.xml b/build.xml index 57457d36..7e027da6 100644 --- a/build.xml +++ b/build.xml @@ -318,8 +318,8 @@ - - + + diff --git a/source/net/sourceforge/filebot/format/ExpressionFormat.lib.groovy b/source/net/sourceforge/filebot/format/ExpressionFormat.lib.groovy index 9e4d4e0a..ea2d147b 100644 --- a/source/net/sourceforge/filebot/format/ExpressionFormat.lib.groovy +++ b/source/net/sourceforge/filebot/format/ExpressionFormat.lib.groovy @@ -55,7 +55,7 @@ String.metaClass.lowerTrail = { replaceAll(/\b(\p{Alpha})(\p{Alpha}+)\b/, { matc /** - * Return substring that matches the given pattern. + * Return a substring matching the given pattern or nothing at all. */ String.metaClass.match = { def matcher = delegate =~ it; matcher.find() ? matcher[0] : "" }