palantir / python-language-server

An implementation of the Language Server Protocol for Python
MIT License
2.61k stars 283 forks source link

Fix an issue when re.match returns None #814

Closed mpanarin closed 4 years ago

mpanarin commented 4 years ago

re.match can return None, so we can't just simply call .object on the result.