projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perl plugin: #undef macros before poisoning them.
[collectd.git]
/
src
/
utils_match.c
diff --git
a/src/utils_match.c
b/src/utils_match.c
index
4d4b57d
..
062bcfe
100644
(file)
--- a/
src/utils_match.c
+++ b/
src/utils_match.c
@@
-228,7
+228,7
@@
cu_match_t *match_create_callback (const char *regex, const char *excluderegex,
return (NULL);
memset (obj, '\0', sizeof (cu_match_t));
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);
if (status != 0)
{
ERROR ("Compiling the regular expression \"%s\" failed.", regex);