From 8d23a431113a2f12290934b76bb08f063d0cc1f6 2012-06-12 12:55:41 From: Jez Ng Date: 2012-06-12 12:55:41 Subject: [PATCH] Make completer recognize escaped quotes in strings. --- diff --git a/IPython/core/completer.py b/IPython/core/completer.py index 744954e..8cb2345 100644 --- a/IPython/core/completer.py +++ b/IPython/core/completer.py @@ -692,10 +692,10 @@ class IPCompleter(Completer): try: regexp = self.__funcParamsRegex except AttributeError: regexp = self.__funcParamsRegex = re.compile(r''' - '.*?' | # single quoted strings or - ".*?" | # double quoted strings or - \w+ | # identifier - \S # other characters + '.*?(?