title: sed error "Invalid range end"
body: <p>I run this substitution command on Ubuntu 12.04.</p>
  
  <pre><code>$ sed -e "s/([a-zA-Z0-9.-/\\ :]+)/\1/g"
  </code></pre>
  
  <p>However, the following error is raised.</p>
  
  <blockquote>
    <p>sed: -e expression #1, char 27: Invalid range end</p>
  </blockquote>
  
  <p>I can remember the same expression works on MacOSX.<br>
  Can you describe why the command fails?</p>