ENH: join both failregex for lighttpd-auth into a single one

they are close in meaning
should provide a slight run-time performance benefit
pull/68/merge
Yaroslav Halchenko 2012-09-30 11:30:24 -04:00
parent cc5d410004
commit 282724a7f9
1 changed files with 1 additions and 2 deletions

View File

@ -9,8 +9,7 @@
# Notes.: regex to match wrong passwords as notified by lighttpd's auth Module # Notes.: regex to match wrong passwords as notified by lighttpd's auth Module
# Values: TEXT # Values: TEXT
# #
failregex = .*http_auth.*password doesn\'t match.*IP: <HOST>\s*$ failregex = .*http_auth.*(password doesn\'t match|wrong password).*IP: <HOST>\s*$
.*http_auth.*wrong password.*IP: <HOST>\s*$
# Option: ignoreregex # Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored. # Notes.: regex to ignore. If this regex matches, the line is ignored.