title: About zero-width assertion does not support uncertain long-term problems
body: <p>I am using the regular expression of python's re module to identify the 4 numbers in the string below this pattern:</p>
  
  <blockquote>
    <p>The number of qualified individuals is 13553, company is 2500, The actual number of individuals joined is 7187,compny is 1722.</p>
  </blockquote>
  
  <p>I was stuck when I used the zero-width assertion to identify the number after <code>company is</code>. I don't know how to identify the last number because there are two identical <code>company is</code> and <code>(?&lt;="some words")</code> Expressions do not support indefinite length.</p>
  
  <pre><code>import re
  content = "The number of qualified individuals is 13553, company is 2500, The actual number of individuals joined is 7187,company is 1722."
  
  match_first = re.search("The actual.*\d\\b", content).group()
  print(match_first)
  
  match_content = re.search("(?&lt;=company\sis\s)+\d+", match_first).group()
  print(match_content)
  </code></pre>
  
  <p>In fact, this method can also be matched, but it is cumbersome, I always feel that there is a way to match the last number with a single statement. It only matches the numbers, the others don't match, maybe because I learn regular expression. The time was too short, I spent a night studying regular expressions still didn't find a way. According to last night's understanding, it may be necessary to use recursive matching to solve it. I still need some time to finish it, but I think there must be a way.</p>