"be consistent" | |
PerlMonks |
regex helpby rsiedl (Friar) |
on Jun 01, 2007 at 04:07 UTC ( [id://618633]=perlquestion: print w/replies, xml ) | Need Help?? |
rsiedl has asked for the wisdom of the Perl Monks concerning the following question:
hi monks, can anyone help me out with this regex? i'm trying to create an array of values that are in a string. i.e. the string "\"foo\"[MH] or \"bar\"[MH]" should return an array that looks like [ "foo", "bar" ]. here's what i have but it's being greedy: any help would be appreciated. cheers, reagen
Back to
Seekers of Perl Wisdom
|
|