in reply to Parse messy string into neat data structure

Are you sure that the filenames won't contain spaces? Or, in general, that it will match a \w+\.jpg pattern? If you are sure, fine, but I thought we ought to check that assumption.

--

"Any sufficiently analyzed magic is indistinguishable from science" - Agatha Heterodyne

Replies are listed 'Best First'.
Re^2: Parse messy string into neat data structure
by Cody Fendant (Hermit) on Aug 10, 2010 at 02:53 UTC
    Yes, thanks for that. But I'm pretty confident about the filenames being reliable.