Doesn't work:
:Rg $block['className']

Bad results
:Rg block['className']

Unrecognized
:Rg block[\'className\']

This one works!
:Rg \$block\['className'\]

I guess this is because all searches are made as regex?
Can I suggest having two commands?
like Rg to literal and Rgp for patterns?
it's hard to think on what needs to be escaped in regex all the time
Doesn't work:
:Rg $block['className']Bad results
:Rg block['className']Unrecognized

:Rg block[\'className\']This one works!

:Rg \$block\['className'\]I guess this is because all searches are made as regex?
Can I suggest having two commands?
like
Rgto literal andRgpfor patterns?it's hard to think on what needs to be escaped in regex all the time