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-Thread: 103376,bb6ebeb41bf44573 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed1.ip.tiscali.net!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mail Newsgroups: comp.lang.ada Subject: Re: character matching References: <87zn4wtpvi.fsf@insalien.org> From: Ludovic Brenta Date: Tue, 17 Aug 2004 00:26:21 +0200 Message-ID: <87llgesos2.fsf@insalien.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:1qTSJf7OKWmOCxObvXyvF30eQ2Y= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tiscali bv NNTP-Posting-Date: 17 Aug 2004 00:26:53 CEST NNTP-Posting-Host: 83.134.238.229 X-Trace: 1092695213 dreader2.news.tiscali.nl 62392 83.134.238.229:35131 X-Complaints-To: abuse@tiscali.nl Xref: g2news1.google.com comp.lang.ada:2760 Date: 2004-08-17T00:26:53+02:00 List-Id: Adrian Knoth writes: > From: Adrian Knoth Subject: Re: character matching > Newsgroups: comp.lang.ada > Date: 15 Aug 2004 21:02:21 GMT > Organization: loris.TV > > Ludovic Brenta wrote: > >> type Category is (Whitespace, Punctuation, Letter, Digit, Other); > > I support Steve's suggestion. Yours has the advantage of showing how > simple things can be done. I guess this is useful for learning > purposes but may contain more mistakes than the Annex-A-solution ;) Thanks; that was exactly my intention. Of course I also support Steve's suggestion. In fact, my quick-and-dirty example did have shortcomings; for one thing I did not even attempt to get the list of punctuation characters complete. -- Ludovic Brenta.