diff --git a/config/filter.d/apache-auth.conf b/config/filter.d/apache-auth.conf
index f301e290..e22a49b7 100644
--- a/config/filter.d/apache-auth.conf
+++ b/config/filter.d/apache-auth.conf
@@ -21,8 +21,8 @@ failregex = ^client denied by server configuration\b
^Authorization of user (?:\S*|.*?) to access .*? failed\b
^%(auth_type)suser (?:\S*|.*?): password mismatch\b
^%(auth_type)suser `(?:[^']*|.*?)' in realm `.+' (not found|denied by provider)\b
- ^%(auth_type)sinvalid nonce .* received - length is not \S+(, referer: \S+)?\s*$
- ^%(auth_type)srealm mismatch - got `(?:[^']*|.*?)' but expected `.+'(, referer: \S+)?\s*$
+ ^%(auth_type)sinvalid nonce .* received - length is not\b
+ ^%(auth_type)srealm mismatch - got `(?:[^']*|.*?)' but expected\b
^%(auth_type)sunknown algorithm `(?:[^']*|.*?)' received\b
^invalid qop `(?:[^']*|.*?)' received\b
^%(auth_type)sinvalid nonce .*? received - user attempted time travel\b