[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Unbalanced Wildcard searches



Reply to note from Russ Urquhart  Thu, 11
Dec 2003 21:38:56 -0600

Russ:

> I tried to use the Alt+Shift+W wildcard with the cva command in
> the following format (W is the Alt_Shift+W character):
>
> cva |W()|W()<$IW,api:W|

I'm afraid that too much to ask of a single CV command. The best
you can do, I think, is to change one keyword per command, like
this:

cva |notify()|notify()<$Inotify,api:notify|

To avoid typing that long command for every keyword, you could write
a little program, like CVAPI.PM below, that would accept the keyword
that you want to change as a (case-sensitive) argument. So, to
change all instances of notify(), you'd command:

RUN CVAPI.PM notify

Here's the program:

XPLeNCODE v2.0
b-gin [UNTITLED]
;*; CVAPI.PM[cr|lf][BX_]cva |{<}PV00{>}()|{<}PV00{>}()<$I{<}P
V00{>},api:{<}PV00{>}>|[Q2_]{<}EX{>}[cr|lf][cr|lf]
-nd
XPLeNCODE

--
Carl Distefano
cld@xxxxxxxx