|Perl Monk, Perl Meditation|
regexp problem using custom markupby kidd (Curate)
|on Jul 25, 2002 at 20:30 UTC||Need Help??|
kidd has asked for the
wisdom of the Perl Monks concerning the following question:
I have this problem that has been driving me nuts, and I can't find the answer...
Lets say I have this code:
As you can see its a string with special command [color=blue] wich I want to substitute for "<font color="blue">" and [/color] to "</font>"...
Now here is the code I've been trying out:
Now...according to me "@colors" should print out:
Wich it isnt happening...could someone help me out... THANKS