Hacker News new | ask | show | jobs
by nickcox 656 days ago
ast-grep supports regex [1] or pattern based [2] matching and replacement.

[1] https://ast-grep.github.io/guide/rule-config/atomic-rule.htm... [2] https://ast-grep.github.io/guide/rule-config/atomic-rule.htm...