summaryrefslogtreecommitdiff
path: root/TLD/generate.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TLD/generate.pl')
-rw-r--r--TLD/generate.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/TLD/generate.pl b/TLD/generate.pl
index eda1431..748f66d 100644
--- a/TLD/generate.pl
+++ b/TLD/generate.pl
@@ -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*?(\$\/)/$1$rx$2/g;
- s/(_tldEx:\s*\/\(.*?\))\S*?(\$\/)/$1$ex$2/g;
+ s/(_tldRx:\s*\/\(.*?\))[\s\S]*?(\$\/)/$1$rx$2/g;
+ s/(_tldEx:\s*\/\(.*?\))[\s\S]*?(\$\/)/$1$ex$2/g;
print DST;
print;
}