[syslog-ng]using ^ and/or $ in a regular expression match

Masahiro Hirako hirako@s5.itd.nes.nec.co.jp
Tue, 2 Oct 2001 10:50:30 +0900


Hello, I've just begun using syslog-ng 1.4.12.
Excuse me if the following problem is a FAQ, but I couldn't find an
answer from the log, manual, reference.

On Thu, 14 Jun 2001, nick nick@digitalwest.net wrote about the match() 
function problem, and I also have the similar one.
(http://lists.balabit.hu/pipermail/syslog-ng/2001-June/001584.html)

The problem is '*' '?', or '+' in match() function.
The following filter below seems to fail.

-------------------------------
filter f1 { match("abc*");};
---------------------------------

I also tried match("abc\*"), match("abc\\*"), but those didn't work 
too.
I know match("abc") is enough to resolve the sample problem, and it
worked, but I want to make a filter like "abc*:xyz". 

Dose the match() function really resolve the regular expression?
Or is the way I use match() wrong?

Thank you for reading.

                                                Masahiro Hirako