> Is there a way to use grep to find the first match instead of the last
> match? For example, if I use

> > Yes, that's a straightforward search and replace.
> > 
> > Find
> > 
> > <!-- begin header -->(?s:.*)<!-- end header -->
> > 
> > Replace
> > 
> > <!-- begin header -->
> > 
> > new HTML here
> > 
> > <!-- end header -->

<!-- begin header -->(?s:.*?)<!-- end header -->

doesn't feel right to me, but it works as intended. =)

- brian


--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to