Is it possible to search with case insensitive? #1142
-
I hope to use it to search a large code base, but I cannot remember the exact cases. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
hi, would you like to provide more context and use case examples? thanks |
Beta Was this translation helpful? Give feedback.
-
Sure. I am very new to ast-grep. I hope to use the pattern 'mysearchpattern' to march multiple cases like: mySearchPattern, or MySearchPattern or even MYSeArCHPATTern (I know this one is unlikely to happen). But at the moment, it only matches exact the input pattern. |
Beta Was this translation helpful? Give feedback.
You can use YAML rule and regex rule