[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching for >> not >>>

In message <5842258401Lists@xxxxxxxxxxx>
          "Richard Torrens (lists)" <Lists@xxxxxxxxxxx> wrote:

> In article <00eca61f-7791-7ee8-17b4-079e7e35e5fa@xxxxxxxxxxx>,
>    Steve Drain <steve@xxxxxxxxxxx> wrote:
>> On 14/02/2020 09:54, Martin wrote:
>>> I am sure this should be simple ... but how do I search for instances
>>> of ">>" but I do not want ">>>" to be included?
>>> Everything I have tried includes instances of the two characters,
>>> even if they were preceeded by the third!

>> In a simple test this worked: ">>"~">"

> But it also finds the second two of 3!

> In theory {">>"}2 might work, but does not find any.

> If there is a space in front  " >>"~">" works.

> I suspect Fred's a bit busy atm, but hopefully he can give a better
> answer...

I'm no expert, but could you specify >> neither preceeded nor succeeded by 

something like ~">" ">>" ~">", which is almost certainly the wrong way, 
but should show you what I mean.

Alan Adams, from Northamptonshire