title: Boolean OR in sed regex
body: <p>I'm trying to replace all references of a package named <code>boots</code> in a configuration file.</p>
  <p>The line format is <code>add fast (package OR pkg) boots-(any-other-text)</code>, e.g.:</p>
  <pre><code>add fast package boots-2.3
  add fast pkg boots-4.5
  </code></pre>
  <p>I want to replace it with:</p>
  <pre><code>add yinst pkg boots-5.0
  </code></pre>
  <p>I've tried the following <code>sed</code> commands:</p>
  <pre><code>sed -e 's/add fast (pkg\|package) boots-.*/add yinst pkg boots-5.0/g'
  sed -e 's/add fast [pkg\|package] boots-.*/add yinst pkg boots-5.0/g'
  </code></pre>
  <p>What's the right regex? I think I'm missing something in the boolean or (<code>package</code> or <code>pkg</code>) part.</p>