 
     # Whatever your prefix regex might be
     regex = ///
-            \\(#{cmdprefixes}) #comand group
-            (\*)? #starred commands
-            (\[[\\\w-]*\])? # optional paramters
-            {([\w-:]+)$ # machthing the prefix
+            (#{cmdprefixes}) #command group
+            ([\w-:]+)$ # machthing the prefix
             ///
     # Get the text for the line up to the triggered buffer position
     line = editor.getTextInRange([[bufferPosition.row, 0], bufferPosition])

CiteManager = require('./cite-manager')
path = require 'path'

module.exports =
class CiteProvider
  selector: '.text.tex.latex'
  disableForSelector: '.comment'
  inclusionPriority: 2
  suggestionPriority: 3
  excludeLowerPriority: false
  commandList: [
    "cite"
    "citet"
    "citep"
    "citeautor"
    "citeyear"
    "citeyearpar"
    "citealt"
    "citealp"
    "citetext"
    "textcite"
  ]

  constructor: ->

      text: result.id
      replacementPrefix: prefix
      type: result.class
      className: 'citeproc-cite'
      descriptionMarkdown: result.markdownCite
      descriptionMoreURL: result.url
      iconHTML: "<i class=\"#{iconClass}\"></i>"
