From f6628f140d26a9062084227981906ed63b8577e5 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Thu, 11 Aug 2011 11:23:54 +0200 Subject: [PATCH] detect: fix regular expression used for check. --- src/detect-reference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-reference.c b/src/detect-reference.c index f8789b82eb..1092f88c46 100644 --- a/src/detect-reference.c +++ b/src/detect-reference.c @@ -43,7 +43,7 @@ #include "util-byte.h" #include "util-debug.h" -#define PARSE_REGEX "^\\s*([A-Za-z]+)\\s*,\"?\\s*\"?\\s*([a-zA-Z0-9\\-_\\.\\/\\?\\=]+)\"?\\s*\"?" +#define PARSE_REGEX "^\\s*([A-Za-z0-9]+)\\s*,\"?\\s*\"?\\s*([a-zA-Z0-9\\-_\\.\\/\\?\\=]+)\"?\\s*\"?" static pcre *parse_regex; static pcre_extra *parse_regex_study;