0

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>[^"]+)"\}'

halfer
  • 19,824
  • 17
  • 99
  • 186
user1613312
  • 374
  • 2
  • 15

0 Answers0