/** * Matches single square bracket pair [] or parahtheses (), but not a double square bracket pair [[]] * (?= matchStart && cursorPos <= matchEnd if (cursorInMatch) { return [match[1], matchStart, matchEnd] } } return null }