On 29/08/2007, Peter Dyballa wrote: > Not in that general form. This is too "greedy." If there were a > particular pattern before ``shell´´ it might work. Which is the best reference for emacs regex please? The O'Reilly emacs book isn't much help? TIA -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk