<<< Date Index >>>     <<< Thread Index >>>

Re: regexp



On Thu 18 Sep 2003 at 06:19pm -0500, John Buttery wrote:

> * John Iverson <johni@xxxxxxxxx> [2003-09-18 15:31:04 -0700]:
> > I'm not sure why the '$' doesn't seem to match an end-of-line, but
> > 
> >     color body brightblack default "^> *\n"
> > 
> > seems to work.
> > 
> > -- 
> > John
> 
>   Wouldn't that be a job for:
> 
> color quoted brightblack default

I don't think so.  Did you perhaps miss the "with nothing after"
phrase in the original post?  :-)

BTW, the pattern could be expanded to include quoted blank lines
no mater what depth of quoting:

    color body brightblack default "^[[:blank:]>]+\n"

(Additional quote characters besides '>' can be added, too.)

-- 
John