[Geany] use of regex

spir denis.spir at xxxxx
Fri Mar 5 11:36:51 UTC 2010


Hello,

I cannot make use of regex to replace. For instance, I got source code from a developper who writes section bodies like:

	header
	{
		<body>
	}

and wanted to replace that pattern by:

	header {
		<body>
	}

So my regex was:
search:  "\n\t*{"
replace: " {"

But I always get 'No matches found for "\n\t*{"'. (Also tried "\n\t+{")

denis
-- 
________________________________

la vita e estrany

spir.wikidot.com




More information about the Users mailing list