diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-02-24 07:48:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-02-24 07:48:58 +0000 |
commit | 3a0ea78611563188652dfbcb9cf0ee82f2fcc099 (patch) | |
tree | 61272cecc19750dd0d513091703e8219c1476721 /tools/lpgen/lpgen.js | |
parent | b8c3f489e5363b07bf80f716f688c82cecabfde5 (diff) |
fix for filtering needed strings
git-svn-id: http://svn.miranda-ng.org/main/trunk@8248 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen/lpgen.js')
-rw-r--r-- | tools/lpgen/lpgen.js | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|