Fletcher:
You have given me what I need, especially from your second idea. You have
answered several puzzles at once, including what that "with selecting
match" is for.
I didn't realize that "\S" includes line endings.
I had some trouble with ".*" in replace, so used the 'found object'
proper
On 5/26/20 at 12:36 AM, hal...@frontier.com (Hal Day) wrote:
I am learning to use AppleScript for BBEdit to do find/replace
editing. I find that replace does "replace all", and have not
discovered how one does a single find/replace.
In general, BBEdit's AppleScript support is for intended
au
You can tailor your regular expression to only find one match. I use [\s\S]* to
defeat the tendency of .* to match only within a single line.
replace "([\\s\\S]*?)find string([\\s\\S]*)" using "\\1replace string\\2"
searching in text 1 of project window 1 options {search mode:grep, starting at
I am learning to use AppleScript for BBEdit to do find/replace editing. I
find that replace does "replace all", and have not discovered how one does
a single find/replace.
Could someone explain that, and could someone tell me where to get good,
detailed information on this topic. I find the BBE