From 204ba115148ea00c1fbb7b5deb3f2584fd047b9d Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Wed, 6 Jul 2016 19:54:40 +0000 Subject: lphen.js: add "CTCP", "DCC" and "IP" to exceptions git-svn-id: http://svn.miranda-ng.org/main/trunk@17071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- tools/lpgen/lpgen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js index da2653d3d2..004a36d70c 100644 --- a/tools/lpgen/lpgen.js +++ b/tools/lpgen/lpgen.js @@ -430,7 +430,7 @@ function ParseRCFile(FileTextVar,array) { //now make a job, till end of matching regexp while ((string = find.exec(FileTextVar)) != null) { // check for some garbage like "List1","Tab1" etc. in *.rc files, we do not need this. - onestring=string[2].replace(/^(((List|Tab|Tree|Spin|Custom|Slider|DateTimePicker|Radio|Check|HotKey|Progress)\d)|(whiterect|IndSndList|&?[Oo][Kk]|AOL|Bing|Google|GPG|ICQ|ID|iTunes|Jabber|JID|Miranda|Miranda NG|mRadio|MSN|OSD|OTR|PGP|SMS|SSL|Tlen|Tox|Twitter|Yahoo|WhatsApp|Winamp \(\*\)|Windows|&\w)|(%.(.*%)?))$/g,""); + onestring=string[2].replace(/^(((List|Tab|Tree|Spin|Custom|Slider|DateTimePicker|Radio|Check|HotKey|Progress)\d)|(whiterect|IndSndList|&?[Oo][Kk]|AOL|Bing|CTCP|DCC|Google|GPG|ICQ|ID|IP|iTunes|Jabber|JID|Miranda|Miranda NG|mRadio|MSN|OSD|OTR|PGP|SMS|SSL|Tlen|Tox|Twitter|Yahoo|WhatsApp|Winamp \(\*\)|Windows|&\w)|(%.(.*%)?))$/g,""); // ignore some popup menu craps if (string[1]=="POPUP" && onestring.match(/^([a-zA-Z ]*(menu|context|popup(?!s)))|([A-Z][a-z]+([A-Z][a-z]*)+)|(new item)$/g)) continue; @@ -476,7 +476,7 @@ function ParseSourceFile (FileTextVar,array) { //filter _T() function results function filter_T(string) { //filter for exact matched strings -var filter1=/^(&?[Oo][Kk]|AOL|Bing|Google|GPG|ICQ|ID:?|IP|iTunes|Jabber|JID|JID:|Miranda|Miranda NG|mRadio|MSN|OSD|OTR|PGP|SHA1:|SMS|SSL|Tlen|Tox|Twitter|Yahoo|WhatsApp|Winamp \(\*\)|Windows)$/g; +var filter1=/^(&?[Oo][Kk]|AOL|Bing|CTCP|DCC|Google|GPG|ICQ|ID|IP|iTunes|Jabber|JID|Miranda|Miranda NG|mRadio|MSN|OSD|OTR|PGP|SMS|SSL|Tlen|Tox|Twitter|Yahoo|WhatsApp|Winamp \(\*\)|Windows)$/g; //filter string starting from following words var filter2=/^(SOFTWARE\\|SYSTEM\\|http|ftp|UTF-|utf-|TEXT|EXE|exe|txt|css|html|dat[^a]|txt|MS\x20|CLVM|TM_|CLCB|CLSID|CLUI|HKEY_|MButton|BUTTON|WindowClass|MHeader|RichEdit|RICHEDIT|STATIC|EDIT|CList|listbox|LISTBOX|combobox|COMBOBOX|TitleB|std\w|iso-|windows-||\w\\\w|urn\:|<\?xml|<\!|h\d|\.!\.).*$/g; //filter string ending with following words -- cgit v1.2.3