old_contents: #
  # linter.py
  # Linter for SublimeLinter3, a code checking framework for Sublime Text 3
  #
  # Written by @kungfusheep
  # Copyright (c) 2016 @kungfusheep
  #
  # License: MIT
  #
  """This module exports the Stylelint plugin class."""
  
  import os
  
  from SublimeLinter.lint import Linter, util
  
  class Stylelint(Linter):
      """Provides an interface to stylelint."""
  
      syntax = ('css', 'css3', 'sass', 'scss', 'postcss')
      cmd = ('node', os.path.dirname(os.path.realpath(__file__)) + '/stylelint_wrapper.js', '@')
      error_stream = util.STREAM_BOTH
      config_file = ('--config', '.stylelintrc', '~')
      tempfile_suffix = 'css'
      regex = (
          r'^(?P<line>[0-9]+)\:(?P<col>[0-9]+)(?P<message>.+)'
      )
  
new_contents: #
  # linter.py
  # Linter for SublimeLinter3, a code checking framework for Sublime Text 3
  #
  # Written by @kungfusheep
  # Copyright (c) 2016 @kungfusheep
  #
  # License: MIT
  #
  """This module exports the Stylelint plugin class."""
  
  import os
  
  from SublimeLinter.lint import Linter, util
  
  class Stylelint(Linter):
      """Provides an interface to stylelint."""
  
      syntax = ('css', 'css3', 'sass', 'scss', 'postcss')
      cmd = ('node', os.path.dirname(os.path.realpath(__file__)) + '/stylelint_wrapper.js', '@')
      error_stream = util.STREAM_BOTH
      config_file = ('--config', '.stylelintrc', '~')
      tempfile_suffix = 'css'
      regex = (
          r'^\s*(?P<line>[0-9]+)\:(?P<col>[0-9]+)\s*(?P<message>.+)'
      )
  
subject: Update sublime linter regex to handle whitespace in stylelint output