summaryrefslogtreecommitdiff
blob: 1593ac3098171ff356882c118f2fee6f26b882bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://github.com/jordansissel/grok/commit/44ce9372a29319c01d4ac7f24287fb36315e0e34

--- a/grokre.c
+++ b/grokre.c
@@ -12,8 +12,8 @@
 
 /* global, static variables */
 
-#define CAPTURE_ID_LEN 4
-#define CAPTURE_FORMAT "%04x"
+#define CAPTURE_ID_LEN 5
+#define CAPTURE_FORMAT "_%04x"
 
 /* internal functions */
 static char *grok_pattern_expand(grok_t *grok); //, int offset, int length);