I took off my lazy hat and had a go rewriting the regex myself:

tell application "BBEdit"
        find "(?<=\\w)\\b" searching in text of front text window options
{search mode:grep, starting at top:false, wrap around:false,
backwards:false, case sensitive:false, match words:false, extend
selection:false} with selecting match
end tell

This does “Go To Next Word, End” for me. Am I missing something?

Cheers Ollie
--
@ollicle

On 23 August 2012 21:43, Oliver Boermans <[email protected]> wrote:
> Thanks for sharing!
>
> On 10 August 2012 08:37, Oliver Taylor <[email protected]> wrote:
>> Download Package: http://olivertaylor.net/bbedit_movement/
>>
>> I recently became obsessed with cursor movement and selection shortcuts in 
>> BBEdit…
>
> I’ve downloaded your collection and have been working through and
> playing with each of scripts.
>
> I noticed “Go To Next Word, End” ignores words which are followed by
> punctuation (except full stops) rather than a space:
>
> tell application "BBEdit"
>         find "(?<=[\\w\\d])(?=$|['\\\"] | |[)\\]}?!\\-\\.])" searching in
> text of front text window options {search mode:grep, starting at
> top:false, wrap around:false, backwards:false, case sensitive:false,
> match words:false, extend selection:false} with selecting match
> end tell
>
> Does anyone have a suggestion for a fix?
> Cheers Ollie
> --
> @ollicle

-- 
-- 
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>



Reply via email to