title: String matching with gensub in Awk
body: <p>I tried to answer the question  asked here 
  <a href="https://stackoverflow.com/questions/41687702/how-to-replace-a-string-like-1-0-4-0-with-a-numeric-value-using-awk-or-sed">How to replace a string like &quot;[1.0 - 4.0]&quot; with a numeric value using awk or sed?</a></p>
  
  <p>I tried for </p>
  
  <pre><code>awk  '{ print gensub(/[([0-9]+.[0-9]+) - ([0-9]+.[0-9]+)]/,"\\1","g")}'
  </code></pre>
  
  <p>but it didn't work cant understand why . Please advise.</p>
  
  <p>Input given :</p>
  
  <pre><code>10368,"Verizon DSL",DSL,NY,NORTHEAST,-5,-4,"[1.1 - 3.0]","[0.384 - 0.768]"
  </code></pre>
  
  <p>desired output :</p>
  
  <pre><code>10368,"Verizon DSL",DSL,NY,NORTHEAST,-5,-4,1.1,0.384
  </code></pre>