mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
python: Inline expectation should have space after $
This was a regex-find-replace from `# \$(?! )` (using a negative lookahead) to `# $ `.
This commit is contained in:
@@ -10,7 +10,7 @@ import re
|
||||
# Comments indicate the found locations relative to the call to `compile`.
|
||||
|
||||
# plain string
|
||||
re.compile( # $location=1:2
|
||||
re.compile( # $ location=1:2
|
||||
'[this] is a test'
|
||||
)
|
||||
|
||||
@@ -97,4 +97,4 @@ r'\A[this] is a test'
|
||||
re.compile( # $ location=1:2 SPURIOUS:location=1:23 MISSING:location=2:6
|
||||
'[this] is a test\
|
||||
and [this] is another test'
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user