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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6bf1c4b845bd2160 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: What about a glob standard method in Ada.Command_Line ? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <4c6f9837$0$5420$ba4acef3@reader.news.orange.fr> <4c739e76$0$6992$9b4e6d93@newsspool4.arcor-online.net> <152a2z5en4z2o$.xjsuqr7s8yak$.dlg@40tude.net> <4c73e859$0$6991$9b4e6d93@newsspool4.arcor-online.net> <4c73fcf6$0$6992$9b4e6d93@newsspool4.arcor-online.net> <1jxm50y65grlo.sjyb9hm4y1xp$.dlg@40tude.net> <4c743a59$0$6893$9b4e6d93@newsspool2.arcor-online.net> <4c74db09$0$6890$9b4e6d93@newsspool2.arcor-online.net> Date: Wed, 25 Aug 2010 11:28:15 +0200 Message-ID: <1r82cxcws3pc9$.r40m8l3ttil7$.dlg@40tude.net> NNTP-Posting-Date: 25 Aug 2010 11:28:13 CEST NNTP-Posting-Host: 330b75a9.newsspool1.arcor-online.net X-Trace: DXC==VF6ehDaT=FE4ZB2flKORAic==]BZ:afN4Fo<]lROoRA<`=YMgDjhgB6E_NldJ1nGB[6LHn;2LCVN[n6MOLXd_iD>JogoE X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:13718 Date: 2010-08-25T11:28:13+02:00 List-Id: On Wed, 25 Aug 2010 10:57:45 +0200, Georg Bauhaus wrote: > Does "wildcard" include both Latin-xyz character � and UTF-8 �? Wildcard * matches ANY SEQUENCE OF CODE POINTS. > Yes. Many Wildcards do. And it can be handled. Wrong, it cannot be implemented to work on both Latin-1 and UTF-8. As a simple example consider the pattern a*� and the string of octets 61 C3 B6 Does the pattern match this string? Hint: 61 C3 B6 = aö (in Latin-1) 61 C3 B6 = a� (in UTF-8) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de