From ecd457db7b823fe31f83b61d87d4f5e4799a5989 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 6 Jan 2012 17:56:52 +0100 Subject: [PATCH] Allow flowint names to have dots in them. --- src/detect-flowint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-flowint.c b/src/detect-flowint.c index 93922e8c9f..4771eade12 100644 --- a/src/detect-flowint.c +++ b/src/detect-flowint.c @@ -41,7 +41,7 @@ #include "detect-engine-mpm.h" /* name modifiers value */ -#define PARSE_REGEX "^\\s*([a-zA-Z][\\w\\d_]+)\\s*,\\s*([+=-]{1}|==|!=|<|<=|>|>=|isset|notset)\\s*,?\\s*([a-zA-Z][\\w\\d]+|[\\d]{1,10})?\\s*$" +#define PARSE_REGEX "^\\s*([a-zA-Z][\\w\\d_.]+)\\s*,\\s*([+=-]{1}|==|!=|<|<=|>|>=|isset|notset)\\s*,?\\s*([a-zA-Z][\\w\\d]+|[\\d]{1,10})?\\s*$" /* Varnames must begin with a letter */ static pcre *parse_regex;