In this SO question there is something that I cannot explain:
grep \"\\\'\" input_file
matches all lines in the given file. Does \\\'
\\\'
grep regex GNU extension: ‘\'’ matches the end of the whole input