title: grep finds the pattern "\n}" where it should not?
body: <p>I want to find occurences of \n} (a newline before a closing curly bracket) in a text using regex.</p>
  <p>However, when I execute <code>grep &quot;\n}&quot; myfile</code> with myfile containing only the caracter '}' (no newline), then grep (version 3.7) finds the pattern and displays :</p>
  <p><code>1:}</code></p>
  <p>It obviously should not.</p>
  <p>In the regex pattern, I tried escaping the '}', I tried calling grep with the -E or -G options to change the regex dialect but grep always finds the pattern in the file, except it is not there.</p>
  <p>Why is that ? How can I make grep find this pattern properly ?
  I thought it could be an ecoding issue but the file is plain ASCII...
  Thank you in advance !</p>