diff --git a/src/utils_match.c b/src/utils_match.c
index 4d4b57d08051b31e91dceb0a8bf43a4e67695dfe..062bcfe37fd152851eb11eb03464daabe0b53ae2 100644 (file)
--- a/src/utils_match.c
+++ b/src/utils_match.c
return (NULL);
memset (obj, '\0', sizeof (cu_match_t));
- status = regcomp (&obj->regex, regex, REG_EXTENDED);
+ status = regcomp (&obj->regex, regex, REG_EXTENDED | REG_NEWLINE);
if (status != 0)
{
ERROR ("Compiling the regular expression \"%s\" failed.", regex);