^>{1}[^>]

{1} does nothing at all.

{1} would mean match the preceding token exactly once, which is exactly the same as having the preceding token by itself without the {1}.

This solution is far poorer that a negative lookahead assertion because the matched text includes the second character, which then has to be dealt with if you are doing a search&replace (by bracketing the [^>] and including \1 in the replace).

Enjoy,
   Peter.

--
Check out Interarchy 8.2, just released, now with Growl support.
<http://www.stairways.com/>  <http://download.stairways.com/>

--
------------------------------------------------------------------
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