Ok, I just encountered an interesting situation, and I'm not sure if its a bug or just me not using the search and replace properly.
This is so specific I hope you can follow.
Say I have a string that looks like:
 	
	| <a href="/homepage.html"> | 
And I would like to run a regex based search and replace like this:
Find:
href=("|')/(\w*)
Replace with:
href=\1{$smarty.const.URL_PREFIX}\2
The result would be:
 	
	| <a href=\1{$smarty.const.URL_PREFIX}homepage.html"> | 
After fiddling around for a bit, it looks like the curly braces has something to do with it.
For instance the following works perfectly:
Find:
href=("|')/(\w*)
Replace with:
href=\1[$smarty.const.URL_PREFIX]\2
The result is:
 	
	| <a href="[$smarty.const.URL_PREFIX]homepage.html"> |