Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

No IntelliSense for regular expressions #1015

Open
@jkeech

Description

@jkeech

Issue

If you use re.compile to build a pattern, there is no IntelliSense for the pattern with the Microsoft Python Language server. You do see the IntelliSense with jedi enabled.

Example

import re
pattern = re.compile(r"(Mr|Ms|Mrs)\.?\s[A-Z]\w*")
pattern.

Current:
image

Expected:
image

Environment

VS Code

Version: 1.33.1 (user setup)
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:27:14.102Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

Python Extension

Version: 2019.4.11987

Python runtime

Version: 3.7.3 64-bit

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions