Any reason this isn't `/^([\w:-]+)\s*(.*)$/` instead?