P is for Practical | |
PerlMonks |
Regexp Problem with greedyby Isanchez (Acolyte) |
on Sep 10, 2003 at 23:14 UTC ( [id://290551]=perlquestion: print w/replies, xml ) | Need Help?? |
Isanchez has asked for the wisdom of the Perl Monks concerning the following question: HI I have a problem with the following script that needs to grab all instances of specific airplane names inside of tags that have a number reference at the end. I know that the number reference should have been in the starting tag... but can anyone check please if there is a way of making this code work a million thanks Monks
America's first <M>swept-wing</M>, <M>multiengine jet</M> <M>bomber</M> was the <M>B-47 Stratojet</M200>, and the first <M>swept-wing fighter</M> was the <M>F-86 Sabre Jet</M201>. Both used new swept-wing data found in Germany after <M>World War II</M> and sent back to the United States by American scientists. This photograph, from <D>1951</D>, was taken the first time the two flew together over <PL>Kansas</PL>. curent output: swept-wing</M>, <M>multiengine jet</M> <M>bomber</M> was the <M>B-47 Stratojet swept-wing fighter</M> was the <M>F-86 Sabre Jet desired autput:B-47 Stratojet F-86 Sabre Jet
Back to
Seekers of Perl Wisdom
|
|