summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhanno <hanno@ada9452e-eb2d-45b7-bbe6-05a4ab45a870>2017-11-17 19:04:57 +0000
committerhanno <hanno@ada9452e-eb2d-45b7-bbe6-05a4ab45a870>2017-11-17 19:04:57 +0000
commit48b24a8762874900b3278b288d97af1de38abd82 (patch)
treed38f8023baf14104cffbb0c5749909b425d87edd
parent1bfaf369580ee147156b43a43599155ce641173f (diff)
fix regexp somewhat, this should be reviewed again
git-svn-id: https://svn.schokokeks.org/repos/freewvs@860 ada9452e-eb2d-45b7-bbe6-05a4ab45a870
-rwxr-xr-xfreewvs2
-rw-r--r--freewvsdb/misc.freewvs2
2 files changed, 2 insertions, 2 deletions
diff --git a/freewvs b/freewvs
index 2337b68..e4327b6 100755
--- a/freewvs
+++ b/freewvs
@@ -132,7 +132,7 @@ for sect in config.sections():
item['variable'] = []
for var in config.get(sect, 'variable').split(","):
item['variable'].append(re.compile(re.escape(var) +
- r"[^0-9.\n\r]*[.]*([0-9.]*[0-9])[^0-9.]"))
+ r"[^0-9\n\r]*[.]*([0-9.]*[0-9])[^0-9.]"))
# optional options
if config.has_option(sect, 'extra_match'):
diff --git a/freewvsdb/misc.freewvs b/freewvsdb/misc.freewvs
index 326935b..fca59d9 100644
--- a/freewvsdb/misc.freewvs
+++ b/freewvsdb/misc.freewvs
@@ -396,7 +396,7 @@ subdir=0
[Gitlist]
url=http://gitlist.org/
file=footer.twig
-variable="Powered by"
+variable=Powered by
safe=0.5.0
latest=0.6.0
vuln=CVE-2014-4511