Unfortunately that does not match. If i modify like this (remove parens):next if $string !~ /<b>(\w|\.+\.zip)<\/b>/; &do_something_with($1);
it matches, but $1 isn't available.next if $string !~ /<b>\w|\.+\.zip<\/b>/; &do_something_with($1);
In reply to RegEx, $1, problem by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |