I've got a file with a whole heap of words of the form 'foo' and i want to change them to Literal('foo'). The following :s command :%s/'.*'/Literal('.*')/gci finds the things i want to change but then it replaces them all with Literal('.*') rather than Literal('foo')
Examples:
I get:
'_' -> Literal('.*')
'dog' -> Literal('.*')
I want:
'_' -> Literal('_')
'dog' -> Literal('dog')