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

Re: Searching for >> not >>>



In article <5842397acdlist01@xxxxxxxxxxxxxxxx>,
   Martin <list01@xxxxxxxxxxxxxxxx> wrote:
> > The best I've come up with so far is:

> >  < | ( ~">" .) @0 ">>" ~">"

[Snip]

> Yes, I can confirm that does exactly what I want. I would never have
> got to that solution! I can simplify it slightly because they cannot
> be at the start of a line.

> For the interested, this is a real situation: those familiar with
> BASIC will know the subtle and dangerous difference between using
> ">>" to shift and ">>>", and I wanted to list all the doubles to
> check if they should be triple. (ie arithmetic shifts which should be
> logical).

A very interesting problem. But as Fred points out, not (yet) perfect.
Such examples are good for the instructions. The page is not yet finished,
I feel!

How to index such a page so that it will be found remains a problem!

http://stronged.torrens.org/man/search/examples/exclude.html

-- 
Richard Torrens.
http://StrongED.Torrens.org for StrongEDinstructions (in preparation) and mailing list archives