regex - Multiple aruments in re.search (python) -


i need re.search() function. have piece of code:

login_redirect = re.search("'loginform', 'false', '(.*?)'", login_page).group(1) 

and doesn't work, although login_page has multiple 'loginform' pieces. know how re.search() works in general, don't know stuff in first argument does. if explain it, extremely grateful.


Comments

Popular posts from this blog

Add new key value to json node in java -

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

javascript - Highcharts Synchronized charts with missing data points -