Forum: Cfengine Help
Subject: Re: Cfengine Help: regex help
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21710,21712#msg-21712

Jesse Becker Wrote:
-------------------------------------------------------
> >This is the regext to remove the unwanted lines
> >
> >(?<!00 3 1 \* \*)\s*/usr/scripts/util/distributed-multipath-ck.sh\s*(?!2>&1 
> >> /dev/null)
>                   ^^^^^
> Do you want to use \s+ here?

I can remove \s* and use a space inside or outside the look behind but still no 
match.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to