Re: CFEngine Help: Re: How to remove a string from an slist based off of a class.

2011-11-29 Thread Ted Zlatanov
On Mon, 31 Oct 2011 10:09:37 -0500 Ted Zlatanov wrote: TZ> On Fri, 30 Sep 2011 19:00:28 +0200 (CEST) neilhwatson wrote: n> No, use a negative regular expression. Match things that are not 'Two'. TZ> There are regular expressions that can't be practically inverted, and TZ> even simple ones loo

Re: CFEngine Help: Re: How to remove a string from an slist based off of a class.

2011-10-31 Thread Ted Zlatanov
On Fri, 30 Sep 2011 19:00:28 +0200 (CEST) neilhwatson wrote: n> No, use a negative regular expression. Match things that are not 'Two'. There are regular expressions that can't be practically inverted, and even simple ones look awkward. Could grep() support a "-v" flag? Ted __