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
  • 18,701
  • 13
  • 79
  • 158
user1613312
  • 374
  • 1
  • 14

0 Answers0