       }
       {
         'comment': 'color regexr with regular quotes i.e. " '
-        'match': '\\b(regexr)(\\()([^,]+)(,)\\s*(\")([^"]+)(\"(\')?)\\s*(,)([^\\)]*)(\\))'
+        'match': '\\b(regexr)(\\()([^,]+)(,)\\s*(\")([^"]+)(\"(\')?)\\s*([^\\)]*)(\\))'
         'captures':
           '1':
             'name': 'support.function.builtin.stata'

      }
      {
        'comment': 'color regexr with regular quotes i.e. " '
        'match': '\\b(ustrregexrf|ustrregexra)(\\()([^,]+)(,)\\s*(\")([^"]+)(\"(\')?)\\s*(,)([^\\),]*)([,0-9\\s]*)?\\s*(\\))'
        'captures':
          '1':
            'name': 'support.function.builtin.stata'

          '7': 
            'name': 'punctuation.definition.string.end.stata'
          '8':
            'patterns': [
              {
                'match': ','
                'name': 'punctuation.definition.variable.begin.stata' # the comma
              }
              {
                'include': '#string-compound'
              }
