Re: Need match character help

2018-05-20 Thread ToddAndMargo
On 05/20/2018 04:16 PM, yary wrote: PRM's suggestion was "/inverting the entire regex -- i.e., instead of matching finding things that do match, exclude the things that don't ... use !~~ or some similar logic to get the strings wanted/" which IMO is an excellent idea. Your implementation didn't

Re: Need match character help

2018-05-20 Thread yary
PRM's suggestion was "*inverting the entire regex -- i.e., instead of matching finding things that do match, exclude the things that don't ... use !~~ or some similar logic to get the strings wanted*" which IMO is an excellent idea. Your implementation didn't take the inversion into account- try th

Re: Need match character help

2018-05-20 Thread ToddAndMargo
On 05/20/2018 03:14 PM, Patrick R. Michaud wrote: On Sun, May 20, 2018 at 03:02:34PM -0700, ToddAndMargo wrote: On 05/20/2018 10:40 AM, Patrick R. Michaud wrote: On Fri, May 18, 2018 at 03:28:20PM +0200, Timo Paulssen wrote: On 18/05/18 13:30, The Sidhekin wrote:   / ^ <[d..z]>* $/ That'

Re: Need match character help

2018-05-20 Thread Patrick R. Michaud
On Sun, May 20, 2018 at 03:02:34PM -0700, ToddAndMargo wrote: > On 05/20/2018 10:40 AM, Patrick R. Michaud wrote: > > On Fri, May 18, 2018 at 03:28:20PM +0200, Timo Paulssen wrote: > > > On 18/05/18 13:30, The Sidhekin wrote: > > > > > > > >   / ^ <[d..z]>* $/ > > > > > > That's pretty good! Put

Re: Need match character help

2018-05-20 Thread ToddAndMargo
On 05/20/2018 10:40 AM, Patrick R. Michaud wrote: On Fri, May 18, 2018 at 03:28:20PM +0200, Timo Paulssen wrote: On 18/05/18 13:30, The Sidhekin wrote:   / ^ <[d..z]>* $/ That's pretty good! Putting the beginning-of-string anchor ^ anywhere but the very start is surely an advanced move :)

Re: Need match character help

2018-05-20 Thread Patrick R. Michaud
On Fri, May 18, 2018 at 03:28:20PM +0200, Timo Paulssen wrote: > On 18/05/18 13:30, The Sidhekin wrote: > > > >   / ^ <[d..z]>* $/ > > That's pretty good! Putting the beginning-of-string anchor ^ anywhere > but the very start is surely an advanced move :) FWIW, sometimes I think it's worth invert