python icon indicating copy to clipboard operation
python copied to clipboard

unicode support

Open darthoctopus opened this issue 7 years ago • 0 comments

Currently, the regex for detecting function definitions reads

'begin': r'^\s*(async\s)?\s*(def)\s+(?=[a-zA-Z_]\w*\s*\()'

This precludes the use of function names beginning with unicode characters:

screenshot from 2019-02-19 20-42-24

darthoctopus avatar Feb 20 '19 01:02 darthoctopus