##// END OF EJS Templates
update regex
Paul Ivanov -
Show More
@@ -718,7 +718,7 b' class IPCompleter(Completer):'
718 else:
718 else:
719 # true if txt is _not_ a _ name, false otherwise:
719 # true if txt is _not_ a _ name, false otherwise:
720 no__name = (lambda txt:
720 no__name = (lambda txt:
721 re.match(r'.*\._.*?',txt[txt.rindex('.'):]) is None)
721 re.match(r'\._.*?',txt[txt.rindex('.'):]) is None)
722 matches = filter(no__name, matches)
722 matches = filter(no__name, matches)
723 except NameError:
723 except NameError:
724 # catches <undefined attributes>.<tab>
724 # catches <undefined attributes>.<tab>
General Comments 0
You need to be logged in to leave comments. Login now