220207.1 · f0a43b41c4595fd7a1270897eddc0dbf4500c2a3
released 3.7.2
New --hexdump options; --ignore-files improvement; speed improvements.
reading declarations
Changes to patterns/python/. All files
@@ -5,7 +5,7 @@ Python patterns - `defs` matches Python `def` lines - `doc_strings` matches Python docstrings - `imports` matches Python `import` lines-- `names` matches Python identifiers (and keywords)+- `names` matches Python identifiers (and keywords) not inside strings and comments - `string` matches Python strings - `zap_comments` removes Python comments from matches - `zap_strings` removes Python strings from matches
@@ -1 +1,6 @@ (?u:\p{PythonIdentifierStart}\p{PythonIdentifierPart}*)+(?^'([^\\\n']|\\.)*')+(?^"([^\\\n"]|\\.)*")+(?^'''('{0,2}[^\\']|\\.|\n)*''')+(?^"""("{0,2}[^\\"]|\\.|\n)*""")+(?^#.*)