At 12:37 -0700 09/17/2012, John Graybeal wrote: >My search pattern (Grep on) is '^(\**) ?' (without the quotes). > [...sample & description elided...] > >My replacement pattern is '*\1 ', which will put an asterisk, any found >asterisks, then a space, at the beginning of the line. > >Doing replace, replace all, or replace and find will often (but not >always!) replace the entire file with a single asterisk and space, as if >multi-line search is on. Other times it correct steps through each line >and prepends an asterisk. > >What no-doubt-obvious thing am I missing?
I assume you're doing a Find or Find Next before applying any Replace action, since that's necessary to populate the match (and BBEdit should warn you if you attempt to do otherwise). Thus (assuming also that the "Grep" option is active), I don't have any immediate idea so if you can reproduce this, could you please send a Zipped sample file to support: <[email protected]> so we can take a look. Regards, Patrick Woolsey == Bare Bones Software, Inc. <http://www.barebones.com/> -- -- 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. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
