a specification
When the user double-clicks to start selection, the terminal will extend the selection on word boundaries. It will treat characters passed in as parts of words, and all other characters as word separators. Ranges of characters can be specified by separating them with a hyphen.
As a special case, if set to null or the empty string, the terminal will treat all graphic non-punctuation characters as word characters.