summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TLD/generate.pl6
-rw-r--r--src/manifest.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/TLD/generate.pl b/TLD/generate.pl
index 748f66d..e37ffd5 100644
--- a/TLD/generate.pl
+++ b/TLD/generate.pl
@@ -14,7 +14,7 @@ sub generate {
while(<DAT>) {
s/\./\\\./g;
s/\s+utf.*//;
- s/\n//;
+ s/[\r\n]//g;
if(/^!/) {
s/^!//;
push(@ex, lc($_));
@@ -42,8 +42,8 @@ sub generate {
open(SRC, $src) || die("Cannot open $src");
open(DST, ">$dst") || die("Cannot open $dst");
while(<SRC>) {
- s/(_tldRx:\s*\/\(.*?\))[\s\S]*?(\$\/)/$1$rx$2/g;
- s/(_tldEx:\s*\/\(.*?\))[\s\S]*?(\$\/)/$1$ex$2/g;
+ s/(_tldRx:\s*\/\(.*?\)).*?(?=\$\/)/$1$rx/s;
+ s/(_tldEx:\s*\/\(.*?\)).*?(?=\$\/)/$1$ex/s;
print DST;
print;
}
diff --git a/src/manifest.json b/src/manifest.json
index 0d80b9a..0a8dd10 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -8,7 +8,7 @@
"strict_min_version": "59.0"
}
},
- "version": "10.1.9rc6",
+ "version": "10.1.9.1rc1",
"description": "__MSG_Description__",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'none'",