From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 11 Dec 2008 17:32:04 +0100 From: "Rudolf Sykora" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: <49324efd.rWhPmwznqAgtCKK7%yard-ape@telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6520c845566013ada472281bf9c0da73@coraid.com> <2e4a50a0810241652r38d2aa1ft2b6fb9104d2988ae@mail.gmail.com> <49324efd.rWhPmwznqAgtCKK7%yard-ape@telus.net> Subject: Re: [9fans] non greedy regular expressions Topicbox-Message-UUID: 602fdbd0-ead4-11e9-9d60-3106f5b1d025 > Here's a version that works on your example: > > 0k > ,x/ABC/+#0;/CBA|EFG/{ > ',.-#0d > .+#0??d > .+#0k > } > > -Derek Thanks. This is what I wanted to see... Ruda