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 23:24:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.r-kom.de!newsfeed.stueberl.de!teaser.fr!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Optimising string handling in application Date: 05 Apr 2003 09:24:29 +0200 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: <1049267738.39983@edh3> <1049451208.932382@edh3> <1049467339.789330@edh3> <3E8DFD96.5080000@cogeco.ca> NNTP-Posting-Host: avelizy-103-1-7-195.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news-reader12.wanadoo.fr 1049527497 23400 81.48.101.195 (5 Apr 2003 07:24:57 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 5 Apr 2003 07:24:57 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.95 Xref: archiver1.google.com comp.lang.ada:35948 Date: 2003-04-05T07:24:57+00:00 List-Id: "Warren W. Gay VE3WWG" writes: > 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. Exactly, using GNAT.Regpat it will not be difficult to implement the expression posted. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595