Andrew.Savige@ir.com writes: > En op 18 augustus 2002 sprak Yorkshireman Piers Cawley: > > Tee hee. > > > > -l $_=$"x2**pop;s'$'/\\',print,s/\\../$&^PC1^PLM/egwhile+s\^ \\ > > > > I *thought* that lookbehind looked a little too long... > > Ton always has the last laugh. Your solution does not work. How very annoying. I wonder it doesn't work? Probably something to do with how the regex engine matches after a replacement... -- Piers "It is a truth universally acknowledged that a language in possession of a rich syntax must be in need of a rewrite." -- Jane Austen?Thread Previous | Thread Next