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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d0d259074af661a2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-27 15:06:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!skynet.be!skynet.be!freenix!enst!enst.fr!not-for-mail From: Eric Merritt Newsgroups: comp.lang.ada Subject: Re: regex with ada? Date: Thu, 27 Dec 2001 15:05:41 -0800 (PST) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: avanie.enst.fr 1009494363 75012 137.194.161.2 (27 Dec 2001 23:06:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 27 Dec 2001 23:06:03 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: In-Reply-To: <26a50b81.0112271429.4421d165@posting.google.com> Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:18345 Date: 2001-12-27T15:05:41-08:00 > > Well if you don't need wildcard support then every > thing you need > for that task can be found in one of the standard > packages ada.strings.fixed, > ada.strings.bounded or ada.strings.unbounded. A > combination of the routines > index and replace_slice in aloop will do what you > want. > > If you need wildcards then look at the two regex > packages that come with Gnat, > a snobol clone and a unix regex like system. I am afraid I feel the overwhelming compulsion to point out the regular expresions are quite allot more then simply wildcards. That being said, I am glad to know thier is a gnat extension that supports them. There my compulsion is sated :) __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com