I have a html file that contains a line:
a = '<li><a href="?id=11&sort=&indeks=0,3" class="">H</a></li>'
When I search:
re.findall(r'href="?(\S+)"', a)
I get expected output:
['?id=11&sort=&indeks=0,3']
However, when I add "i" to the pattern like:
re.findall(r'href="?i(\S+)"', a)
I get:
[ ]
Where's the catch? Thank you in advance.