How does one escape special characters in the cscope "Find this egrep pattern" ? For instance I want to find everywhere in a huge codebase where I have the statement
print("\n[<something>.....
I need to find every line where a print format specifier string has a newline immediately followed by a left bracket character.
How do I feed this to the egrep pattern search?
I tried:
Find this egrep pattern: \\n[
Find this egrep pattern: \\n\[
got :
Egrep Syntax error in this pattern: \n[
Could not find the egrep pattern: \\n\[