On 18-Jun-2010, at 09:15, Bill Rowe wrote:

> On 6/17/10 at 8:58 PM, [email protected] (Keith) wrote:
> 
>> If I create a search using grep like this
> 
>> (.*)
> 
>> and use replace of:
> 
>>  mv \1 \1.pine
> 
>> BBEDIT 9.5 replaces all strings numerous times.
> 
>> foo\r becomes mv foo foo.pine foo.pine.pine\r or similar
> 
>> How do I prevent replace all from creating those erroneous entries? I
>> can use Replace & Find, but this is a large document.
> 
> Try using (.+) as the search pattern rather than (.*). The pattern .* means 
> match anything zero or more times. I believe this is the issue.

Or

Search: .*
Replace mv & &.pine


-- 
'If you sow dragons' teeth, you should get dragons. Not fighting
skeletons. What did it say on the packet?' 'I don't know! The myth never
said anything about them coming in a packet!' 'Should have said "Comes
up Dragons" on the packet.' --Interesting Times

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

Reply via email to