I want to search for this:
SELECT * FROM `influencers` WHERE (author_name =
within a log file using vi, I cant figure out how to properly escape this, I have tried:
SELECT * FROM \`influencers\` WHERE \(author_name =
And several similar versions, but no luck
This should work:
EDIT: Seeing Keith’s answer, he’s right. My square brackets are unnecessary. But I’ll leave my answer to make a point: whenever I have regex problems, wrapping questionable characters in square brackets is often a quick fix (and doesn’t hurt).