Em 8/8/06 1:09 PM, "Ted Burger" <[EMAIL PROTECTED]> escreveu:

> I tried:
> GREP is checked
> Search: (.*)
> Replace: fieldname="&" postargumentname="&"
(...)
> 
> I am getting doubles of the 'Replace'.
> Any thoughts?


It seems that you found a bug. It shouldn't behave this way.

I performed some tests and was able to reproduce this problem. BBEdit also
does that when using "\1" instead of "&" .

However, using ".+" instead of ".*" in the search field returns the desired
result.


(BTW: you don't need to put the search string inside parentheses if you use
"&" in the replace field. The parentheses are required only if you use \1,
\2 and so on in the replace field.)




João Carlos de Pinho
São Paulo, Brazil



--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to