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})
Seth
--
------------------------------------------------------------------
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]>