Dear folks,
I find out that there are a bug under the om_regex_init()
in the om_regex.c file:
1. find the line with under om_regex_int()
while ((ch = getxopt(argc, argv, "v!reverse!inverse m!
message:" h!host: d!date: t!time:", &argcnt)) != -1)
2. Add the ':' and take out the erratic '"'
3. Change to
while ((ch = getxopt(argc, argv, "v!inverse: m!message: h!
host: d!date: t!time:", &argcnt)) != -1)
4. Recompile and your reverse regex should work
Cheers,
Matt Lee
mattlee@startvcom
Logged In: YES
user_id=502397
This fix now lets me use om_regex! I'm using 1.08e. Before it would
segfault whenever I had %regex -v in syslog.conf.
Thanks Matt!