You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pattern=">{:opt}<"html="<p><strong>George</strong> is a <em>beautiful</em> cat</p>"print(''.join(part[0] forpartinfindall(pattern, html,extra_types=dict(opt=with_pattern(r'.*?')(lambdax:x)))))
Let us suppose that I write
I get
Mr. George is a beautiful
To fix that I can write
and now I get
Mr. George is a beautiful cat
However, if I write
I get
<strong>George is a beautiful cat
It looks like the {} placeholder does not like to be empty.
The text was updated successfully, but these errors were encountered: