I wrote a regex to find any file containing space
Word
[
and here is the regex.
^\s+Session\[
and I want to use this regex in git grep, so I set up a file in my repo that matched the regex and runs it.
here is what I run
git grep '^\s+Word\[' -- '*.cs'
but it returns nothing. I'm really new to git and regex any reference or suggestion to solve this problem?