>>>import re
>>>re.findall(r"[^>]*", "<abc>")
['<abc', '', '']
When i type above code in Python interpreter, i got a weird result.
Why the length of returned list is 3 not 2 ?
>>>import re
>>>re.findall(r"[^>]*", "<abc>")
['<abc', '', '']
When i type above code in Python interpreter, i got a weird result.
Why the length of returned list is 3 not 2 ?