Thread grep <br> in text
(26 answers)
Opened by Hunnenkoenig at 2009-11-20 12:34
Hallo,
Ich bin es nochmal, falls jemand sich an mich erinnert :-) Ich kacke mit perl herum und versuche diese XML datei von apple herauszulesen. Ich probiere grep und da ist ein text Code: (dl
)
<TextView topInset="0" leftInset="0" rightInset="0" styleSet="normal11"><SetFontStyle normalStyle="descriptionTextColor">Advanced Rollercoaster Builder is a logical puzzle game. Your goal is to build a Rollercoaster from one side of the screen making your train able to collect the stars on the way, and reach the other side without crashing.<br/><br/>There are five levels, and all of them have five stages, so you get 25 missions all together with constantly raising severity.<br/><br/>After finishing all the levels you can see your actual High Score, which you can share online with others.<br/><br/>You can replay the game until you reach the perfect state and collect ALL the stars.<br/><br/>You can view a "replay video" after each finished stage.<br/><br/>Features:<br/><br/>- 5 Stages<br/>- 25 Missions<br/>- AGON based Online High Score<br/>- Video Replay<br/>- Unique Gameplay<br/><br/>If you liked Line Rider, you will love Advanced RollerCoaster Builder.<br/><br/><br/>Watch the YouTube video by following the link from our official website.<br/><br/>http://www.youtube.com/watch?v=4qYLnvgds_4</SetFontStyle></TextView> Ich habe in perl eine grep funktion eingebaut: Code: (dl
)
1 my @rizray = grep( /<TextView topInset="0" leftInset="0" rightInset="0" styleSet="normal11"> Funzt soweit auch gut, aber ich bekomme den text nur bis zum ersten "<br/>" tag. Meine frage: Wie bekomme ich den rest des textes auf den bildschirm? //Modedit GwenDragon: Text in CODE-Tags Last edited: 2010-06-25 13:44:19 +0200 (CEST) |