Hello, all!
 
I've been working with re_extract() as part of my destination load-balancing 
efforts.  I've got these two lines:
 
set $!msgid = re_extract($msg, " 
srcname=[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.([0-9]{1,3}) ", 0, 1, "Unk");
 
set $!msgid = re_extract($msg, " 
srcname=\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.(\\d{1,3}) ", 0, 1, "Unk");
 
If I use the first one, I get steady memory usage, and it actually returns 
results like it should.  If I use the second, it doesn't return any results, 
and it has ever-increasing until it crashes memory usage.
 
Even if I got the actual syntax wrong so it doesn't find any matches, it seems 
like it shouldn't run out of memory and crash. :)  This is on 7.4.5.
 
Thanks!
Robert
                                          
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to