A
Anthony Roberts
property = re.compile("""(?P<name>[a-z0-9_\-]+)="(?P<value>.*?)""""re.I)
This doesn't work because the closing quote in my regex forms the first
quote of a triple quote to end the string...
property = re.compile("""(?P<name>[a-z0-9_\-]+)=("(?P<value>.*?)")""", re.I)
This mucks up stuff I want to do later.
I've thought about it for a while, and except for changing it to a
single-quoted string with escaped quotes, is there any clean way to do this?
TIA,
Anthony
This doesn't work because the closing quote in my regex forms the first
quote of a triple quote to end the string...
property = re.compile("""(?P<name>[a-z0-9_\-]+)=("(?P<value>.*?)")""", re.I)
This mucks up stuff I want to do later.
I've thought about it for a while, and except for changing it to a
single-quoted string with escaped quotes, is there any clean way to do this?
TIA,
Anthony