We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1e1b78 commit ba318fdCopy full SHA for ba318fd
bpython/curtsiesfrontend/repl.py
@@ -651,7 +651,7 @@ def current_word(self):
651
def _get_current_word(self):
652
pos = self.cursor_offset_in_line
653
654
- matches = list(re.finditer(r'[\w_][\w0-9._]*[(]?', self._current_line))
+ matches = list(re.finditer(r'''[\w_][\w0-9._\[\]']*[(]?''', self._current_line))
655
start = pos
656
end = pos
657
word = None
0 commit comments