[feature] Support filter sg run
results by metavar regular expression
#379
Labels
enhancement
New feature or request
sg run
results by metavar regular expression
#379
Related: #378
We can only use one single pattern to search code for command line
sg run
. This is convenient but less powerful tosg scan
.For example, if users want to find
userCol.update
oritemCol.update
, a single pattern$COL.update
cannot be done on command line. The work around is to write a temporary rule in YAML and usesg scan -r temp.yml
to scan code base.We can build a better CLI option to accept regular expression for meta-variables on command line.
The text was updated successfully, but these errors were encountered: