We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34e0a0c + b119647 commit 8de667bCopy full SHA for 8de667b
syncode/parsers/grammars/grammar.py
@@ -49,7 +49,7 @@ def simplifications(self):
49
# Simplifications for python
50
python_simplifications = {
51
'COMMENT': '(?i:(?s:(#.*|\'\'\'.*?\'\'\'|""".*?""")))',
52
- '_NL': '(?s:(?i:\n(.*)))',
+ '_NL': '(?s:(?i:\n))',
53
'LONG_STRING': '(?i:(?s:(\'\'\'.*?\'\'\'|""".*?""")))',
54
'STRING': '(?s:(?i:[ubf]?r?(".*?"|\'.*?\')))'
55
}
0 commit comments