Experimental find text with multiselect
Apache 2.0Search for text, treating all textual sources as plain text. This version of the recipe exists to experiment with multiselect recipe options.
org. openrewrite. text. FindMultiselectRequired
The text to find. This snippet can be multiline.
Optional
If true, find will be interpreted as a Regular Expression. Default false.
Regex processing options. Multiple options may be specified. These options do nothing if regex mode is not enabled.
- Case-sensitive - The search will be sensitive to letter case. * Multiline - Allows
^and$to match the beginning and end of lines, respectively.* Dot all - Allows.to match line terminators.
Separate values with commas.
A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon ;. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, all source files are searched.
mod run . --recipe= org. openrewrite. text. FindMultiselect \
-P find= blacklistInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.