I'm not sure I understand why the following grep search doesn't work:
tell application "BBEdit"
tell front window
replace "^-+ " using "" options {search mode:"grep"}
end tell
end tell
The string "-- " is present and the replace works when I don't use the grep
option and search for the literal string instead, so there must be something
wrong with the option syntax...
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
--
This is the BBEdit Talk public discussion group. 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>
---
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.