i have the following log line i want to parse
<log pos_start="40652288" end_position="40689664" log_type="1" length="37376" block_id="4024" block_position="18"/>
i am using python regex, this is what i did so far
regexParse = re.match(".*pos_start=(\d+).*end_position=(\d+).*log_type=(\d+).*length=(\d+).*block_id=(\d+).*block_position=(\d+).*",StatelogLine)
start_position = regexParse.group(1)
end_position = regexParse.group(2)
i am getting the following error
AttributeError: 'NoneType' object has no attribute 'group'
anyone has any ideas what is the problem