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

Re: IS XW A DO



Re Chet's version of wildcard search and replace, via XPL

>It's simple enough once the procedure is clear. Just write any
>search program that accepts user's input, but accept the input
>in three parts, say,
>
>abc
>
>Search for the abc as a whole, and then you're at the end of
>the expression. If it's an "inside wild" the XPL goes back
>and changes the a and c components; if an "outside wild"
>just change the b component (separate programs in my case).

    Yeah, but what Xy4 can do (amazingly) is multiple wildcards--e.g.,

ci /.the end/:le fin/

--a meaningless example, but illustrative.

Regards,

     Harry Binswanger
      hb@xxxxxxxx