projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Privoxy-Regression-Test: Add a "Default level offset" directive
[privoxy.git]
/
tools
/
url-pattern-translator.pl
diff --git
a/tools/url-pattern-translator.pl
b/tools/url-pattern-translator.pl
index
09a2a24
..
ae745cf
100755
(executable)
--- a/
tools/url-pattern-translator.pl
+++ b/
tools/url-pattern-translator.pl
@@
-18,7
+18,7
@@
# Only convert your files once, or, as RoboCop used to say,
# there will be... trouble.
#
# Only convert your files once, or, as RoboCop used to say,
# there will be... trouble.
#
-# $Id: url-pattern-translator.pl,v 1.
2 2008/08/10 16:35:47
fabiankeil Exp $
+# $Id: url-pattern-translator.pl,v 1.
3 2009/01/13 17:01:04
fabiankeil Exp $
#
# Copyright (c) 2008 Fabian Keil <fk@fabiankeil.de>
#
#
# Copyright (c) 2008 Fabian Keil <fk@fabiankeil.de>
#
@@
-63,7
+63,7
@@
sub convert_host_pattern ($) {
}
# Match-all syntax has changed ...
}
# Match-all syntax has changed ...
- $hp =~ s@\*@
.
*@g;
+ $hp =~ s@\*@
[^.]
*@g;
# Extended host patterns are right-anchored by default
$hp =~ s@\.$@(\..*)?@;
# Extended host patterns are right-anchored by default
$hp =~ s@\.$@(\..*)?@;