You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should support metavariables to match on literals. That is, to match on "foo" and 42 below.
x := "foo"
const y = 42
This will make it possible to write patches that detect, say, hard-coded strings and turn them into constants or optimize them (moving compilation of a hard-coded regex from a hot path to a top-level variable, for example).
The text was updated successfully, but these errors were encountered:
We should support metavariables to match on literals. That is, to match on
"foo"
and42
below.This will make it possible to write patches that detect, say, hard-coded strings and turn them into constants or optimize them (moving compilation of a hard-coded regex from a hot path to a top-level variable, for example).
The text was updated successfully, but these errors were encountered: