title: PyCharm Regex works not as expected (as other services)
body: <p>i'm struggling to debug my python code with regex in PyCharm.</p>
  <p>The idea:
  I want to find any case of 'here we are',
  which can go with or without 'attention',
  and the word 'attention' can be separated by whitespace, dot, comma, exclamation mark.</p>
  <p>I expect this expression should do the job</p>
  <pre><code>r'(attention.{0,2})?here we are'
  </code></pre>
  <p>Online services like <a href="https://regex101.com/" rel="nofollow noreferrer">https://regex101.com/</a> and <a href="https://pythex.org/" rel="nofollow noreferrer">https://pythex.org/</a> confirm my expression is correct – and i'm getting expected &quot;attention! here we are&quot;</p>
  <p>However, if i run the below code in PyCharm I'm getting such (unexpected for me) result.</p>
  <pre><code>my_string_1 = 'attention! here we are!'
  my_list = re.findall(r'(attention.{0,2})?here we are', my_string_1)
  print(my_list)
  
  &gt;&gt;&gt; ['attention! ']
  </code></pre>
  <p>Could someone direct me to the reason why PyCharm's outcome is different? Thanks</p>