 # -------------------------
 class MoveToNextWholeWord extends MoveToNextWord
   @extend()
-  wordRegex: /^\s*?$|\S+/g
+  wordRegex: /^$|\S+/g
 
 class MoveToPreviousWholeWord extends MoveToPreviousWord
   @extend()
-  wordRegex: /^\s*$|\S+/
+  wordRegex: /^$|\S+/
 
 class MoveToEndOfWholeWord extends MoveToEndOfWord
   @extend()


    if found
      point = wordRange.start
      if pointIsAtEndOfLineAtNonEmptyRow(@editor, point) and not point.isEqual(scanRange.end)
        point.traverse([1, 0])
      else
        point

  getPoint: (pattern, from) ->
    wordRange = null
    found = false
    vimEOF = @getVimEofBufferPosition(@editor)

    @scanForward pattern, {from}, ({range, matchText, stop}) ->
      wordRange = range
