projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
532fa1e
)
console: relax word regex to allow numbers
author
Marko Kreen
<markokr@gmail.com>
Fri, 14 Oct 2011 07:17:39 +0000
(10:17 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Fri, 14 Oct 2011 07:17:39 +0000
(10:17 +0300)
src/admin.c
patch
|
blob
|
blame
|
history
diff --git
a/src/admin.c
b/src/admin.c
index eb03327a249f2978c33835e04db328102bf531d7..b51f41efa65049d681595bb29eb381a574173374 100644
(file)
--- 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 */