diff options
author | dartraiden <wowemuh@gmail.com> | 2017-09-05 02:07:55 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2017-09-05 02:07:55 +0300 |
commit | 4db91fea606ba0834c1649726d8957aadd596fb2 (patch) | |
tree | 96d7e988108e80bf466b8bc42d64ed9ee7b329ad /tools/lpgen | |
parent | 25d3cbef4a3a8fa09151de730deb7fcda94ffe4d (diff) |
lpgen.js: optimization
Diffstat (limited to 'tools/lpgen')
-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 1e64852753..d0afd10717 100644 --- a/tools/lpgen/lpgen.js +++ b/tools/lpgen/lpgen.js @@ -419,7 +419,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|APOP|BBS|Bing|CTCP|DCC|Foodnetwork|Google|GPG|Hotmail|ICQ|ICQ Corp|ID|IP|ISDN|iTunes|Jabber|JID|Miranda|MirandaG15|Miranda NG|mRadio|MSN|NickServ|OSD|OTR|PCS|PGP|SMS|SSL|SteamID|Steam Guard|Tlen|Tox|Twitter|Yahoo|WhatsApp|Winamp \(\*\)|Windows|X400|&\w)|(%.(.*%)?))$/g,"");
+ onestring=string[2].replace(/^(((List|Tab|Tree|Spin|Custom|Slider|DateTimePicker|Radio|Check|HotKey|Progress)\d)|(whiterect|IndSndList|&?[Oo][Kk]|AOL|APOP|BBS|Bing|CTCP|DCC|Foodnetwork|Google|GPG|Hotmail|ICQ|ICQ Corp|ID|IP|ISDN|iTunes|Jabber|JID|Miranda|Miranda NG|mRadio|MSN|NickServ|OSD|OTR|PCS|PGP|SMS|SSL|Steam|Steam Guard|Tlen|Tox|Twitter|Yahoo|WhatsApp|Winamp \(\*\)|Windows|X400|&\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;
|