matches null string many times is regex

bduong

New Member
Oct 10, 2006
2
0
1
Hello,
I running a trail version of PROXMOX 2.1. I am getting multiple warning in the Realtime Logfile Query. The following error.

Feb 21 11:53:50 proxprox 15840 WARNING: ^* matches null string many times is regex; marked by <-- HERE in m/^* <-- HERE .******/ at /usr/share/perl5/Proxmox/RuleDB/WhoRegex.pm line 94



--- ******* / - item in blacklist



This will repeat very offten with all items in the blacklist. Is this normal?

Thanks!!
 
Never mind, I found the problem. It’s a user error. I did not use the proper parameter in the regular expression.
 
Never mind, I found the problem. It’s a user error. I did not use the proper parameter in the regular expression.

hi,

thanks for updating,
 
Please don't post on threads which are more than 12 years old - rather open a fresh one in these cases.
(also this question has been answered quite a few times in this forum -> use the forum search)

please tell me how to add regex correctly.
Same error
It is described in short in the reference documentation: https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmg_mailfilter_regex
usually this error comes from a misunderstanding of regular expressions vs. globs:
* for regular expression to match 'anything' the expression is '.*' (for globs it is '*')
-> check your rule system for this

I hope this helps!
 
@marswell

Please follow the rules from our staff.

=> Please don't post on threads which are more than 12 years old - rather open a fresh one in these cases.
 
Dear i have received warning below. Are is critical one or can ignore. Why is generATED
WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE @*.work$/ at /usr/share/perl5/PMG/RuleDB/WhoRegex.pm line 90
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!