diff --git a/build-data/BuildData.groovy b/build-data/BuildData.groovy index 1c415755..3453ebab 100755 --- a/build-data/BuildData.groovy +++ b/build-data/BuildData.groovy @@ -22,7 +22,7 @@ def dir_data = "${dir_website}/data" def output = new File("${dir_data}/${it}") def set = new TreeSet(String.CASE_INSENSITIVE_ORDER) - input.getText('UTF-8').split(/\R/)*.trim().findAll( it.length() > 0 ).each{ + input.getText('UTF-8').split(/\R/)*.trim().findAll{ it.length() > 0 }.each{ set += Pattern.compile(it).pattern() }