           matches = option.match(projectRE)
           if matches? and matches.length > 1
             project = matches[1]
-          
+
         getBuildTypes msg, project, (err, msg, buildTypes) ->
           message = ""
           for buildType in buildTypes

#
# Dependencies:
#   "underscore": "1.3.3"
#
# Configuration:
#   HUBOT_TEAMCITY_USERNAME = <user name>

        if buildTypeMatches?
          configuration = buildTypeMatches[1]
          project = buildTypeMatches[2]
        else
          buildTypeRE = /^\s*of (.*)/i
          buildTypeMatches = option.match buildTypeRE
          if buildTypeMatches
            configuration = buildTypeMatches[1]
            project = null

        getBuilds msg, project, configuration, (err, msg, builds) ->
          if not builds
            msg.send "Could not find builds for #{option}"
            return
          createAndPublishBuildMap(builds, msg)
