# that the realm ENDS with the domain name, so it does not match
# realms with the domain name in the middle. e.g. "~.*\\.example\\.net"
# will match "test.example.netFOO", which is likely not what you want.
-# Using "~.*\\.example\\.net$" is better.
+# Using "~(.*\\.)example\\.net$" is better.
#
# The more regex realms that are defined, the more time it takes to
# process them. You should define as few regex realms as possible
# in order to maximize server performance.
#
-#realm "~.*\\.example\\.net$" {
+#realm "~(.*\\.)*example\\.net$" {
+# auth_pool = my_auth_failover
#}