[mod.computers.vax] TPU Search Patterns

oberman@LLL-ICDC.ARPA ("Oberman, Kevin") (11/26/86)

>Does anyone understand VAXTPU pattern searches?
>.
>.
>.
>Is this a bug, or is the documentation bad, or am I just dense?
>
>I have seen references to pseudo-EMACS written in TPU.  If anyone out there has
>such a set of TPU procedures, I would very much like to see how the unix-style
>"regular expressions" were implemented. 

I am also baffled by the operation of pattern searches. I have one of my
own that looks just as strange:
The search is for ("^O" | "^N" | "FF" | "ESC"). The string really contains
the control characters. A SEARCH finds some of the characters, but not all--at
least on a single pass. If I repeat the search, it will find more characters.
If I run it several times it gets everything.

I use the TPU procedure to replace control characters with ASCII strings
for use in mailing. Maybe I just dumb, but I don't understand either!

					R. Kevin Oberman
					LLNL
					arpa: oberman@lll-icdc.arpa
					(415) 422-6955

P.S. I didn't receive the original submission of this problem either. MAIL
sometimes falls in the old bit bucket and I assume that this one never made
it to SRI-KL.
------