I think this should be simple, but I must have been dancing all around
the answer for the last couple of hours.
I want to match any single occurrence of the character ">" at the
beginning of a line, but want to ignore any occurences where there are
multiple instances of the same character in sequence, like ">>>".
I thought something like this would be in the ballpark:
^>{1}?
or something even simpler like:
^>
. . .but as I'm sure all grep experts reading this know by now, these
still match the first occurence on every line, even in the ">>" or
">>>>" instances I want to avoid.
Any suggestions?
--
Brian Drumm
--
------------------------------------------------------------------
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]>