We don't bite newbies here... much | |
PerlMonks |
Re: Regular Expression, substitutionby marinersk (Priest) |
on Apr 06, 2016 at 03:31 UTC ( [id://1159671]=note: print w/replies, xml ) | Need Help?? |
Using your first example:
I get the following:
Then I fixed the error on line 4:
Which yields the following:
So, to fix that, I added a value based on your loose description:
I get the following:
Now morbidly curioius, I added a line to display the result:
I get the following:
I'm now going to ask the question: What's with all the \baction in your regular expression?
In Section
Seekers of Perl Wisdom
|
|