From: Marko Kreen Date: Fri, 14 Oct 2011 07:17:39 +0000 (+0300) Subject: console: relax word regex to allow numbers X-Git-Tag: pgbouncer_1_5_rc1~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40db7c0593f22c4aba5be83fe7bee65a83af399b;p=pgbouncer console: relax word regex to allow numbers --- diff --git a/src/admin.c b/src/admin.c index eb03327..b51f41e 100644 --- a/src/admin.c +++ b/src/admin.c @@ -27,7 +27,7 @@ /* regex elements */ #define WS0 "[ \t\n\r]*" #define WS1 "[ \t\n\r]+" -#define WORD "(\"([^\"]+|\"\")*\"|[a-z_][0-9a-z_]*)" +#define WORD "(\"([^\"]+|\"\")*\"|[0-9a-z_]+)" #define STRING "'(([^']*|'')*)'" /* possible max + 1 */