           args.push(classpath)
         args.push(filePath)
         return helpers.exec(command, args, {stream: 'stderr'}).then (output) ->
-          regex = 'scala:(?<line>\\d+): (?<type>(error|warning)): (?<message>(.+))'
           return helpers.parse(output, regex, {filePath: filePath})

    @subscriptions.add atom.config.observe 'linter-scalac.scalacOptions',
      (scalacOptions) =>
        @scalacOptions = scalacOptions
    @cmd = 'scalac'

  deactivate: ->
    @subscriptions.dispose()

  config:
    scalacExecutablePath:
      type: 'string'
      default: 'scalac'
    scalacOptions:
      type: 'string'
      default: '-Xlint'
