title: Regular expression in expect with tcl
body: <p>I need to match the expect for the following output</p>
  
  <pre><code>1/ 5  SOMETEXT      Active
  </code></pre>
  
  <p>I am using the following code </p>
  
  <pre><code>expect -re "1\/\s+(\d)\s+SOMETEXT\s+Active"
  send "\r"
  puts $expect_out(0,string)
  </code></pre>
  
  <p>Here, I am matching the digit '5' from the input text.</p>
  
  <p>But, with this code, expect is not able to find the result from the input.</p>