title: how to ignore line break in text search?
body: <p>Using <code>sed</code>, I want to search a string and replace that with other in maven pom.xml</p>
  
  <pre><code>&lt;groupId&gt;com.abc&lt;/groupId&gt;
  &lt;version&gt;3.1&lt;/version&gt;
  </code></pre>
  
  <p>with </p>
  
  <pre><code>&lt;groupId&gt;com.abc&lt;/groupId&gt;
  &lt;version&gt;4.1&lt;/version&gt;
  </code></pre>
  
  <p>I wrote</p>
  
  <pre><code>find . -name 'pom.xml' -type f -exec sed -i "s!"&lt;groupId&gt;com.abc&lt;/groupId&gt;\n
  &lt;version&gt;3.1&lt;/version&gt;"!"&lt;groupId&gt;com.abc&lt;/groupId&gt;\n    &lt;version&gt;4.1&lt;/version&gt;!" '{}' \; 
  </code></pre>
  
  <p>But it never works! </p>