       else
         msg.send 'No schedules found!'
 
-  robot.respond /(pager|major)( me)? (schedule|overrides)( (.+))?$$/i, (msg) ->
+  robot.respond /(pager|major)( me)? (schedule|overrides)( ([\w\-]+))?$/i, (msg) ->
     query = {
       since: moment().format(),
       until: moment().add('days', 30).format(),

        else
          msg.send "None found!"

  robot.respond /(pager|major)( me)? (override) ([\w\-:]*) - ([\w\-:]*)( (.*))?$/i, (msg) ->
    if msg.match[7]
      overrideUser = robot.brain.userForName(msg.match[7])

      unless overrideUser
        msg.send "Sorry, I don't seem to know who that is. Are you sure they are in chat?"

      .delete() (err, res, body) ->
        json_body = null
        switch res.statusCode
          when 204 || 200
            value = true
          else
            console.log res.statusCode
