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.

--
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