in reply to Find a string within a string
Just a quick note:
add the line
at the beginning of your script, and it all becomes clear. This will put extra debug information on you regexes, and in your case will show what to match to wich string. This is fairly readable.use re debug;
|
|---|