I'm quite bad with Regexp stuff, so I can't figure out why this does not work. I simply want to match the two strings within an assignment/equation, something like this:
"string1" = "string2"
In this case, I'd expect "string1" and "string2" to be matched (without the quotation marks). I tried the following regex, which works in a regex tester I found on the web, but not in Python:
("[^"]*").=.("[^"]*")
In Python it would look like this:
matches = re.findall(r'("[^"]*").=.("[^"]*")', line)
But like I said, it doesn't work.