Nim comes bundled with a `nimgrep` tool [0], that is essentially grep on steroids. It has `-y` flag for style insensitive matching, so "fooBar", "foo_bar" and even "Foo__Ba_R" can be matched with a simple "foobar" pattern.
The other killer feature of nimgrep is that instead of regex, you can use PEG grammar [1]
The other killer feature of nimgrep is that instead of regex, you can use PEG grammar [1]