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;
In reply to Re: Find a string within a string
by mce
in thread Find a string within a string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |