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.
1 parent a9b5ce3 commit b86cf0eCopy full SHA for b86cf0e
plugins_/syntaxtest_dev.py
@@ -42,7 +42,7 @@ def get_syntax_test_tokens(view):
42
match = None
43
if line.size() < 1000: # no point checking longer lines as they are unlikely to match
44
first_line = view.substr(line)
45
- match = re.match(r'^(?P<comment_start>\s*.+)'
+ match = re.match(r'^(?P<comment_start>\s*.+?)'
46
r'\s+SYNTAX TEST\s+'
47
r'"(?P<syntax_file>[^"]+)"'
48
r'\s*(?P<comment_end>\S+)?$', first_line)
0 commit comments