Remove unused import
Remove useless "negativeRegex" and improve naming in expand_to_regex_set
Improve naming and order of expand_to_word tests
Fix bug, where expand_to_word did not work, when parts of the word were already selected