From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <7359f0490903031631o55358b62ic9dd947d83e410b3@mail.gmail.com> References: <13426df10903031413n13e53b8bxef266c2551aa8abd@mail.gmail.com> <509071940903031537le1af6e4t33b6cd97b470b829@mail.gmail.com> <7359f0490903031631o55358b62ic9dd947d83e410b3@mail.gmail.com> Date: Wed, 4 Mar 2009 10:41:34 +0100 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] command repetition in sam/acme Topicbox-Message-UUID: af76be20-ead4-11e9-9d60-3106f5b1d025 > Sam and Acme use a simple, pure form of regular expressions. =A0If 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. Is it really so? R. Cox (Regular Expression Matching Can Be Simple And Fast), I think, shows, that repetition can be first expanded and then used even by the nice (non-backtracking) algorithms, like this: e{3} --> eee e{3,5} --> eeee?e? e{3,} --> eee+ where would the problem arise? Thanks Ruda > > So yes: use other tools, with my apologies. > > -rob