From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <1b1594479f277d53e64d592a098c0cc2@quanstro.net> References: <3aaafc130908201052o3c8a6334v13350c18f78120d9@mail.gmail.com> <1b1594479f277d53e64d592a098c0cc2@quanstro.net> Date: Thu, 20 Aug 2009 16:33:15 -0400 Message-ID: <3aaafc130908201333t547ea182t980e6f3352fce40f@mail.gmail.com> From: "J.R. Mauro" 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] Recursive structural expressions? Topicbox-Message-UUID: 4f66146c-ead5-11e9-9d60-3106f5b1d025 On Thu, Aug 20, 2009 at 3:53 PM, erik quanstrom wrot= e: > On Thu Aug 20 13:54:35 EDT 2009, jrm8005@gmail.com wrote: >> Has anyone given thought to recursive structural regular expressions? > > i'm sure i've done them. =A0this is a lame example, since i can't remembe= r > where i've used these techniques off the top of my head > > ,x:.*: g/#pragma/ x:[^ =A0]+[ =A0 =A0 ]: g/print/p How is this recursive? > > - erik > >