From 3a0ea78611563188652dfbcb9cf0ee82f2fcc099 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 24 Feb 2014 07:48:58 +0000 Subject: fix for filtering needed strings git-svn-id: http://svn.miranda-ng.org/main/trunk@8248 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- tools/lpgen/lpgen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/lpgen/lpgen.js') diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js index ac987ea831..395e13c5a1 100644 --- a/tools/lpgen/lpgen.js +++ b/tools/lpgen/lpgen.js @@ -469,7 +469,7 @@ var filter2=/^(SOFTWARE\\|SYSTEM\\|http|ftp|UTF-|utf-|TEXT|EXE|exe|txt|css|html| //filter string ending with following words var filter3=/^.+(001|\/value|\*!\*|=)$/g; //filter from Kildor -var filter4=/^((%(\d+)?\w\w?)|(d\s\w)|\[\/?(\w|url|img|size|quote|color)(=\w*)?\]?|(\\\w)|(%\w+%)|(([\w-]+\.)*\.(\w{2,4}|travel|museum|xn--\w+))|\W|\s|\d)+$/gi; +var filter4=/^((d\s\w)|\[\/?(\w|url|img|size|quote|color)(=\w*)?\]?|(\\\w)|(%\w+%)|(([\w-]+\.)*\.(\w{2,4}|travel|museum|xn--\w+))|\W|\s|\d)+$/gi; //filter from Kildor for remove filenames and pathes. var filter5=/^[\w_:%.\\\/*-]+\.\w+$/g; -- cgit v1.2.3