Is it possible to replace specific text pattern ignoring AST? #1010
-
I would like to replace I thought it can use Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
HerringtonDarkholme
Mar 22, 2024
Replies: 1 comment 6 replies
-
You rule does not match because |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can try using regex + replace transformation https://ast-grep.github.io/reference/yaml/transformation.html#replace