Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Semgrep: Semantic grep for code. Parent comment
given:
if 1 \ == \ 1: pass
$ semgrep -e '$X == $X' -l python 1:if 1 \ 2: == \ 3: 1: ran 1 rules on 1 files: 1 findings
semgrep -e $'if ...:\n pass\n' -l python
There are no comments on this comment yet.
given:
then to follow myself up, one can also check for expressions like what I used as an example and say "don't do that", but without regard to what is inside the if