I'm searching for this string in the Yahoo Finance web page source
"CrumbStore":{"crumb":"abcdEFGHijklm"}
I understand that the following code compiles a regex that searches for the string above and assigns it to pattern
pattern = re.compile('.*"CrumbStore":\{"crumb":"(?P<crumb>[^"]+)"\}')
I need to understand what '.*
does?
Also, the \
.
Also the (?P<crumb>[^"]+)"\}'