On 2013–01–07 Marco wrote:

> \k seems to work. Is it safe to replace all occurrences of \w with
> \k? That seems to be the easiest solution.

This wreaks havoc! dots, dashes, brackets, everything is matched. I
could reduce iskeyword to include only 0-9a-zA-Z_ and all accented
characters. That would be some work to figure out what exactly to
put into iskeyword but it might work.

However, the w motion has the correct understanding of what a word
is. Where does w get the information from? Why does w consider ć to
be a letter, but not -? I fail to see why w (the motion) and \k (the
regex) behave different.

Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to