| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e877f8b commit c6ac8a7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,11 +29,8 @@ | |||
| 29 | 29 | shouldn't happen often. | |
| 30 | 30 | ||
| 31 | 31 | BUGS | |
| 32 | - - Continuation lines are not dealt with at all. | ||
| 33 | - - While triple-quoted strings won't confuse it, lines that look like | ||
| 34 | - def, class, import or "from ... import" stmts inside backslash-continued | ||
| 35 | - single-quoted strings are treated like code. The expense of stopping | ||
| 36 | - that isn't worth it. | ||
| 32 | + - Continuation lines are not dealt with at all, except inside strings. | ||
| 33 | + - Nested classes and functions can confuse it. | ||
| 37 | 34 | - Code that doesn't pass tabnanny or python -t will confuse it, unless | |
| 38 | 35 | you set the module TABWIDTH vrbl (default 8) to the correct tab width | |
| 39 | 36 | for the file. | |
@@ -75,6 +72,10 @@ class MyClass(subpackage.SuperClass): | |||
| 75 | 72 | [^'\\]* | |
| 76 | 73 | )* | |
| 77 | 74 | ''' | |
| 75 | + | ||
| 76 | + | " [^"\\\n]* (?: \\. [^"\\\n]*)* " | ||
| 77 | + | ||
| 78 | + | ' [^'\\\n]* (?: \\. [^'\\\n]*)* ' | ||
| 78 | 79 | ) | |
| 79 | 80 | ||
| 80 | 81 | | (?P<Method> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments