Re: Python Regular Expressions

2011-06-22 Thread Andy Barnes
to expand. I have parsed one of the lines manually to try and break the process I'm trying to automate down. source: Theurgic Lore, Lore, n/a, 105, 70, 30, Distil Mana output: TheurgicLore [label="{ Theurgic Lore |{Lore|n/a}|{105|70|30}}"]; DistilMana -> TheurgicLore; This is the steps I would t

Python Regular Expressions

2011-06-22 Thread Andy Barnes
Hi, I am hoping someone here can help me with a problem I'd like to resolve with Python. I have used it before for some other projects but have never needed to use Regular Expressions before. It's quite possible I am following completley the wrong tack for this task (so any advice appreciated). I