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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,da3af210412d89fd X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!news.grnet.gr!newsfd02.forthnet.gr!not-for-mail From: Christos Chryssochoidis Newsgroups: comp.lang.ada Subject: Re: Range types Date: Mon, 22 Oct 2007 22:08:23 +0300 Organization: FORTHnet S.A., Atthidon 4, GR-17671 Kalithea, Greece, Tel: +30 2109559000, Fax: +30 2109559333, url: http://www.forthnet.gr Message-ID: <1193080112.152229@athprx03> References: <1192994157.867598@athprx04> <471bb318$0$27835$39db0f71@news.song.fi> <471BC497.5060601@gmail.com> <1193051690.350063@athprx04> <1193056433.32681.4.camel@kartoffel> NNTP-Posting-Host: athprx03.forthnet.gr Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1253; format=flowed Content-Transfer-Encoding: 7bit X-Trace: athprx02.forthnet.gr 1193080112 20360 193.92.150.68 (22 Oct 2007 19:08:32 GMT) X-Complaints-To: abuse@forthnet.gr NNTP-Posting-Date: Mon, 22 Oct 2007 19:08:32 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) In-Reply-To: <1193056433.32681.4.camel@kartoffel> Cache-Post-Path: newsfd02!unknown@acro.ath.forthnet.gr Xref: g2news2.google.com comp.lang.ada:2549 Date: 2007-10-22T22:08:23+03:00 List-Id: Thanks for the hint. I 'll have a look at both the standard packages' routines and the Spitbol packages. Regards, C.C. Georg Bauhaus wrote: > On Mon, 2007-10-22 at 14:14 +0300, Christos Chryssochoidis wrote: > > >> For this it would be nice if there were some >> package for regular expressions for Ada. > > The Strings hierarchy actually has some RE processing routines, > at least if you consider types for character ranges and > character sets, together with subprograms that scan strings for > occurrences of characters from these sets. > > If you have GNAT, a non-portable Ada solution can well be based > on the Spitbol packages, which include the most powerful > pattern matching machinery. > > >