From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <13426df10903031413n13e53b8bxef266c2551aa8abd@mail.gmail.com> <509071940903031537le1af6e4t33b6cd97b470b829@mail.gmail.com> <7359f0490903031631o55358b62ic9dd947d83e410b3@mail.gmail.com> <7359f0490903040152v76bb505at39d58992b9a37fbb@mail.gmail.com> Date: Wed, 4 Mar 2009 14:31:38 +0100 Message-ID: <5d375e920903040531j29fcbdc6na7b4e9a57563b708@mail.gmail.com> From: Uriel To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] command repetition in sam/acme Topicbox-Message-UUID: b06322a6-ead4-11e9-9d60-3106f5b1d025 >>From earlier in this thread: "Sam and Acme use a simple, pure form of regular expressions. If they had the counting operations, this would be a trivial task, but to add them would open the door to the enormous, ill-conceived complexity of (no longer) regular expressions as the open source community thinks of them." So, if you want counting, you can always write a patch, who knows, it might even be accepted. But I think that anyone not under the influence of psychedelic substances that has suffered PCR, will agree we don't want to move in that direction, and even if small, counting is a step in that direction. I personally rarely have use for it, and when I do, it is trivial to write a script to generate the desired regexp, and I'm eternally grateful for being free from Perl-induced psychosis. uriel On Wed, Mar 4, 2009 at 12:32 PM, Rudolf Sykora wr= ote: > 2009/3/4 Rob Pike : >> Not all the features adapt as easily. >> >> -rob > > By counted repetittion I've =C2=A0always meant just the mentioned, i.e. > {n} > {n,} > {,m} > {n,m} > . > What feature do you have on mind? > > Thanks > Ruda > >