anelson has asked for the wisdom of the Perl Monks concerning the following question:
I need to capitalize "some_other_thing" in $line, without hosing up any of the rest of it. I'm fairly sure there was an easy way to do with a regexp, but can't for the life of me figure it out. Any help appreciated. Yours, -amy $line = "foo blah ditty doo <SOME_THING BLAH=some_other_thing> woob +a blah blah etc";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regular expression needed (maybe)
by Paladin (Vicar) on Jan 15, 2003 at 04:53 UTC | |
by anelson (Acolyte) on Jan 15, 2003 at 04:59 UTC | |
|
Re: Regular expression needed (maybe)
by mojotoad (Monsignor) on Jan 15, 2003 at 05:45 UTC | |
|
Re: Regular expression needed (maybe)
by Aristotle (Chancellor) on Jan 15, 2003 at 08:05 UTC | |
by Anonymous Monk on Jan 15, 2003 at 13:39 UTC | |
by dragonchild (Archbishop) on Jan 15, 2003 at 15:09 UTC | |
by Aristotle (Chancellor) on Jan 15, 2003 at 17:47 UTC |