     flags.splice flags.indexOf('-i'), 1  if isCaseSensitive
     flags.splice flags.indexOf('-w'), 1  unless isWholeWord
 
-    query = "grep #{flags.join ' '} #{exclureDirs} --include=#{include} '#{@searchText}' \"#{@escapeShell @rootPath}\""
+    query = "grep #{flags.join ' '} #{exclureDirs} --include=#{include} '#{searchText}' \"#{@escapeShell @rootPath}\""
 
     vmController.run query, (err, res) =>
       if (err or res.stderr) and not res.stdout

              itemClass     : KodingSwitch
              defaultValue  : no
              cssClass      : 'tiny switch'
            # regExpToggle    :
            #   label         : 'Use filename regexp'
            #   itemClass     : KodingSwitch
            #   defaultValue  : no
            #   cssClass      : 'tiny switch'
            #   nextElement   :
            #     regExpValue :
            #       itemClass : KDInputView
            #       type      : 'text'
            warningView     :
              itemClass     : KDView
              cssClass      : 'hidden notification'


      @formatOutput res.stdout, @bound 'createResultsView'

  escapeRegExp: (str) ->
    str.replace(/([.*+?\^${}()|\[\]\/\\])/g, "\\$1");

  escapeShell: (str) ->
    str.replace /([\\"'`$\s\(\)<>])/g, "\\$1"

  grepEscapeRegExp: (str) ->
    str.replace(/[[\]{}()*+?.,\\^$|#\s"']/g, "\\$&");

  formatOutput: (output, callback = noop) ->
    # Regexes
