From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,789b3fa522bdcc2a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-04 13:52:33 PST Message-ID: <3E8DFD96.5080000@cogeco.ca> From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Optimising string handling in application References: <1049267738.39983@edh3> <1049451208.932382@edh3> <1049467339.789330@edh3> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 04 Apr 2003 16:48:06 -0500 NNTP-Posting-Host: 198.96.47.195 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1049492887 198.96.47.195 (Fri, 04 Apr 2003 16:48:07 EST) NNTP-Posting-Date: Fri, 04 Apr 2003 16:48:07 EST Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:35938 Date: 2003-04-04T16:48:06-05:00 List-Id: Frode Tenneboe wrote: > Preben Randhol wrote: >>Have you checked GNAT's regexp etc... capabilities? > AFAIK: It does not have any support for substitution. > > -Frode I believe the match arrays give you enough position information that it would be trivial to code the substitution part. -- Warren W. Gay VE3WWG http://home.cogeco.ca/~ve3wwg