*******************************************************
Todays forums are sponsored by Ian Martin Limited
Engineering/Technical Placement Specialists
www.ianmartin.com
*******************************************************

At 01:00 PM 3/10/01 +1200, you wrote:

>Hi Darren
>
>{oldtext=newtext}, where, in your case, newtext=Xoldtext
>
>eg {J=XJ}.
>
>Make sure you filter out the "J's" you want, otherwise "JP" will also change
>to "XJP".
>
>If you wish to make the change case specific, put a "!" in front of the
>oldtext, eg. {!J=XJ}, which will only change capital "J's", ie "j" would not
>be affected.
>
>HTH.
>Brendon.


Brendon or others,

Is there a method of adding a prefix/suffix, for example to *all* 
designators in one go, rather than having to do all the 'J's then the 'R's 
etc.  I think I have tried to solve this in the past and I can't recall if 
I was successful.  For instance how would you add a prefix to all 
designators? (Humour me, treat this as a mental exercise rather than real 
requirement.)

I would like enhanced pattern matching capability so we can add 
prefixes/suffixes and match by more elaborate patterns - a la grep, MS Word 
search/replace and many other programs.  I even know that there are classes 
available in C++ providing pattern matching and I assume there is similar 
in Delphi.

Any others wanting pattern matching? Even simple stuff like: beginning/end 
of line, include/exclude any of [list of chars], and some others of the 
simpler patterns.

There is of course a method of getting pattern matching: Save as an ASCII 
format file and open in a capable text editor.  Alternatively, wonders 
could be achieved with a export to spread.  On bulk designators 
manipulation, I tend to use one or other of these methods.

Ian Wilson


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* To post a message: mailto:[EMAIL PROTECTED]
*
* To leave this list visit:
* http://www.techservinc.com/protelusers/leave.html
*
* Contact the list manager:
* mailto:[EMAIL PROTECTED]
*
* Forum Guidelines Rules:
* http://www.techservinc.com/protelusers/forumrules.html
*
* Browse or Search previous postings:
* http://www.mail-archive.com/proteledaforum@techservinc.com
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to