Skip to main content
Code Review

Timeline for How parse nicely a string into three (or more) pieces?

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Dec 16, 2013 at 21:32 comment added theodox I'd suggest maybe storing the result for each line as a namedtuple (docs.python.org/2/library/collections.html) or dictionary for easier access in the rest of the code
Dec 16, 2013 at 17:18 history migrated from stackoverflow.com (revisions)
Dec 13, 2013 at 15:31 comment added TankorSmash Seems like you could improve that by checking only for upper case, then colon then digits then semi colon, otherwise any time the last group has either of those two characters, you're going to be dealing with all kinds of craziness. Outside the scope of the question, I guess.
Dec 13, 2013 at 15:30 vote accept Community Bot
Dec 13, 2013 at 15:13 history answered devnull CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /