C
chacallot
Hi,
I use a monitoring application, which allow use of perl regexp to
filter which instance of something I want to monitor.
In some case I want to monitor everything except one instance.
Lets say it's every filesystem except /temp.
The monitoring software allow perl regexp but not negating them.
So I tried /(\/temp){0}/ but it doesnt work (every filesystem is
monitored /temp included).
Why is it it doesnt work?
Is /^(??!\/temp).)*$/ my only chance to do this right? Looks insanly
obfuscated to me, but if you this it's the rite way to do it, I may
try to understand it ....
Regards,
Chacallot.
I use a monitoring application, which allow use of perl regexp to
filter which instance of something I want to monitor.
In some case I want to monitor everything except one instance.
Lets say it's every filesystem except /temp.
The monitoring software allow perl regexp but not negating them.
So I tried /(\/temp){0}/ but it doesnt work (every filesystem is
monitored /temp included).
Why is it it doesnt work?
Is /^(??!\/temp).)*$/ my only chance to do this right? Looks insanly
obfuscated to me, but if you this it's the rite way to do it, I may
try to understand it ....
Regards,
Chacallot.