[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Unbalanced Wildcard searches
Hi Robert,
Thanks for your reply.
After using and chaning some things about Carl's program, I was wondering if something, like what
your program does, would be possible.
As i was looking thru it, it all seemed pretty clear.
Just one question that i couldn't immediately figure out on my own.
≪SX01,≪VA@01(1≫≫
I know that that is storing something in 01. (I'm assuming something with regard to the value in 01.
Could you explain what's happening there?
Thank you for your help!
Russ
> ** Reply to message from Russ Urquhart on Thu, 11
> Dec 2003 21:38:56 -0600
>
> Russ:
>
> Try issuing just the Search part of your Change Verify command
> against one of your source strings, e.g. "notify()"
>
> se/f |W()|
>
> Notice that it stops on the "y" in "notify()". Why? Because a
> wild-W is a wild string of any size from 1 to 80 characters.
> You've indicated nothing to the left of wild-W, so wild-W has no
> idea where to start. The minimum string that satisfies its
> requirements is "y()".
>
> Now, if in front of " notify()" you always had a space, or you
> always had a carriage return, or any predictable character, then
> wild-W would grab the entire word(). But you don't indicate the
> preceding context.
>
> This is a slight improvement over Carl's code, because you don't
> have to input a source word -- it just works, hands-off, on the
> next-following occurrence of "anyword()" -- all you have
> to do is run it (save this msg, or paste the following into
> XyWrite, then command DECODE to decode it):
>
> XPLeNCODE v2.0
> b-gin [UNTITLED]
> [GT_][YD_][XD_][BX_]se/f [wX]()[Q2_][DW_][CR_][DM_][DZ_]{<}S
> V01{>}[XD_]{<}SX01,{<}VA@01(1{>}{>}<$I{<}GT01{>},api:{<}GT01{
> >}>{<}EX{>}[cr|lf]
> -nd
> XPLeNCODE
>
> -----------------------------
> Robert Holmgren
> holmgren@xxxxxxxx
> -----------------------------
>