In Kate's default bash syntax, the string /path/to/file.ext is considered to be a word so double-clicking to selects the whole thing instead of just to.
This extends to things like ${variable} or $variable where double-clicking variable selects ${variable} or $variable respectively.
Other editors I've used (Geany, gedit, etc) all recognize most, but not all non-alphanumerics, .-/${}() for example, as not part of the word so they select only to or variable as expected with a 3rd click selecting the whole line.
I'm not saying it's wrong to do this, but how can I tell Kate to recognize some specific non-alphanumeric characters as word separators?
I have tried changing /usr/share/org.kde.syntax-highlighting/syntax/bash.xml's line on symbolseps so include {}[]$ but it doesn't seem to work.