I'm using Python 2.7.3, and here is my code to parse a website read into 'file':
list = re.findall(r'<span info=".+</span>| \
Name: .+<br>| \
<span id="Phone" info="phonenumber">.+</span>| \
',file)
My actual code is longer than 4 lines, but this should get the point across. I'm trying to write this on separate lines so it is easier for me to read/debug, but as it stands now nothing is being stored into list.
I've tried moving the first few expressions onto one line and it works fine. What am I doing wrong?