And while you are at it, why not shrink the code to
foreach (...) { my ($title,$tag,$message) = $email =~ /\[title](.*)\[title].*\[tags](. +*)\[tags].*\[message](.*)\[message]/is; ... }
In reply to Re^2: regex problem
by jaimon
in thread regex problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |