in reply to regexp problem using custom markup
You are matching, but you are not capturing. You need the parens around the match.
@colors = $new =~ m/(\[color=.*\])/gi;
mkmcconn
update also, read Death to Dot Star!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Regexp
by Anonymous Monk on Jul 25, 2002 at 21:24 UTC | |
by mkmcconn (Chaplain) on Jul 25, 2002 at 21:36 UTC |
In Section
Seekers of Perl Wisdom