From 92938fa2d2416998df899406e19aaa074bc22dbb Mon Sep 17 00:00:00 2001 From: venaas Date: Wed, 23 May 2007 08:31:44 +0000 Subject: slight regexp example change git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@97 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'radsecproxy.c') diff --git a/radsecproxy.c b/radsecproxy.c index 079aaa8..76a4860 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -1686,7 +1686,7 @@ void addrealm(char *value, char *server) { if (*value == '*') debugx(1, DBG_ERR, "Regexps are now used for specifying realms, a string\nstarting with '*' is meaningless, you probably want '.*' for matching everything\nEXITING\n"); if (value[strlen(value) - 1] != '$' && value[strlen(value) - 1] != '*') { - debug(DBG_ERR, "Regexps are now used for specifying realms, you\nprobably want to rewrite this as e.g. '@example\\.com$' or '\\.com$'\nYou can even do things like '[a-n].*@example\\.com$' to make about half of the\nusers use this server. Note that the matching is case insensitive.\n"); + debug(DBG_ERR, "Regexps are now used for specifying realms, you\nprobably want to rewrite this as e.g. '@example\\.com$' or '\\.com$'\nYou can even do things like '^[a-n].*@example\\.com$' to make about half of the\nusers use this server. Note that the matching is case insensitive.\n"); sleep(3); } realm_count++; -- cgit v1.1