I have written the following pattern to match an empty paragraph at the end of HTML:
https://regex101.com/r/6TNgUV/1
But when I try the following Python code, the result is None
html_desc = '</span><p></p><p></p>'
res = re.match('(<p>){1}(\s)*(<br>|<br\/>){0,9}(\s)*(<\/p>){1}(\s)*$', html_desc)
# returns None
I am not able to understand the issue.