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,e0fa6eae2c537e3d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!2a02:590:1:1::196.MISMATCH!news.teledata-fn.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: GNAT.Regpat problem. Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <41cae3ac-97b6-4b01-ad73-9ff1ec2fdf86@q12g2000prb.googlegroups.com> <1thhy53rdlhrs.1tygcc01f6i11$.dlg@40tude.net> <5exbsdc3coio.1ke3vi3sk7ss4.dlg@40tude.net> <4d8b6f3f$0$6984$9b4e6d93@newsspool4.arcor-online.net> Date: Thu, 24 Mar 2011 18:37:58 +0100 Message-ID: <13ysjzq8nlkr9.ixn8sxorjykk.dlg@40tude.net> NNTP-Posting-Date: 24 Mar 2011 18:37:57 CET NNTP-Posting-Host: 2234463f.newsspool1.arcor-online.net X-Trace: DXC=R\7>KG4S8jJ02Sh8E_NfIAic==]BZ:afN4Fo<]lROoRA<`=YMgDjhgBRUbKm`amj0N[6LHn;2LCVN[ On Thu, 24 Mar 2011 17:20:14 +0100, Georg Bauhaus wrote: > On 24.03.11 15:34, Dmitry A. Kazakov wrote: > >> BTW, there recently was an article criticizing overuse of REs in UNIX, >> suggesting SNOBOL-like patterns instead. > > That's odd. The creators of SNOBOL-4 and SPITBOL have > always say, "Don't use patterns!" But if you decided not to follow this wise advice, better use the SNOBOL ones than REs. > (Debugging clever uses of patterns isn't fun, all > the more when the patterns are powerful.) True. Any declarative approach to programming suffers this problem. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de