[ILUG-Social] really really simple regex question...
Stephen Shirley
diamond at skynet.ie
Wed Mar 7 16:52:14 GMT 2001
Ah yes - i'd actually thought of that, there's just one problem, _how_ do
you negate it? I can't figure it out. I'm using vi btw. I do realise that
grep -v would negate it, but can you not put the negation in the regex
itself?
Steve
On Wed, 7 Mar 2001, Mark Fallon wrote:
> hi,
>
> Well:
>
> word$
>
> Will match the word at the end of the line, so I would
> negate this. The dollar sign matches the end-of-line.
>
> Regards,
>
> Mark
>
--
Patient Voice - 'So why did we get "404 File Not Found"?'
Blonde Voice - 'Because it didn't look hard enough?'
More information about the Social
mailing list