On Mon, Jan 07, 2002 at 06:00:07PM +0000, Paul Fitzpatrick wrote:
> eh
>> %s/\#include \"foo\\bar\\apples.h\"/\#include \"foo\/var\/apples.h\"/g
>> should do it fine..
Ah - well yes it would - but the problem is that i want the regex to
work for all directories. I.e. I have c files with
#include "foo\bar\apples.h"
#include "oof\rab\oranges.h"
#include "ofo\bra\bananas.h"
etc etc, and it would be nice to be able to run just one search-replace,
but then again it's probably just wishful thinking.
Steve
--
"My mom had Windows at work and it hurt her eyes real bad"
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!