title: Python regular expression, looking for the end of the line or inverted commas
body: <p>I want to find in my file all the the comments as follow:</p>
  
  <pre><code>list = re.findall(("COMMENT\S+.WAIT\S+ := "), contents)
  
  COMMENT[1].WAIT.1 := "WAIT REQUEST TO EAT"---&gt;From the file
  </code></pre>
  
  <p>What I get  in my list <code>"COMMENT[1].WAIT.1 :="</code></p>
  
  <p>The problem is that I don´t know how to get all the chain because of if I add \D+ I would look until the next empty space and If I put a OR condition I get all the file but I just want this line.</p>
  
  <p>Thanks in advance. </p>