Good for you. I'd rewrite:
as$string = m/($start)(*)($end)/; print "$2";
because$string =~ m/$start(.+?)$end/s; print $1;
Hope that helps,
andy.
In reply to Re: pattern matching
by andye
in thread pattern matching
by silent11
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |