> > i'm sure i've done them. this is a lame example, since i can't remember > > where i've used these techniques off the top of my head > > > > ,x:.*: g/#pragma/ x:[^ ]+[ ]: g/print/p > > How is this recursive?
in the sense that 'x' is recursively applied to the output of 'x'. i have no idea what you would mean by applying the same 'x' expression to the output of said 'x' expression, as regular expressions are greedy and can't count. wouldn't they all loop forever? can you outline somehow what you're thinking of? - erik