On Thu, 28 Sep 2006 03:10:12 +0100, Seth Dillingham wrote
(in message <[EMAIL PROTECTED]>):
> On 9/28/2006, Patrick James said:
>
>> replace "\s+\z"
>
> The backslashes need to be escaped in the AppleScript.
>
> So the line in question should read:
>
> set replacecount to (replace "\\s+\\z" using "" options
> {starting at top:true, search mode:grep})
Hi
Thank you :)
In fact after I posted my last email I partially remembered this, it's a long
time since I wrote an AppleScript, and so I looked it up in my AppleScript
book and saw that the backslash has to be escaped.
--
Patrick
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>