         comment: 'Matches an underscore and next character or macro'
         comment: 'Considering making this give a warning, as brackets is best practice'
         name: 'punctuation.subscript.latex'
-        match: '_\\s*(\\\\[a-zA-Z]+|.)?'
+        match: '_\\s*(\\\\[a-zA-Z]+|\\\\[.]|.)?'
     }
     caretMeta: {
         comment: 'Like underscore, but superscript'

        comment: 'Matches a caret and next character or macro'
        comment: 'Considering making this give a warning, as brackets is best practice'
        name: 'punctuation.superscript.latex'
        match: '\\^\\s*(\\\\[a-zA-Z]+|.)?'
    }
    hashtagMeta: {
        comment: 'I dont like calling this the pound symbol. Catcode says it is a parameter.'
        match: '(\\#{3,}[0-9]+)|(\\#{2}[0-9]+)|(\\#[0-9]+)'
        captures:
            1:

            3:
                name: 'variable.parameter.hashtag.1.latex'
    }
# Other
    escapedCharacter: {
        comment: 'Finds escaped characters like \$ and \%. Uses this regex so unique capture groups can be used.'
        name: 'constant.character.latex'
