in reply to Re: Convert string to data structure (split)
in thread Convert string to data structure

tye, I think you need to change:

split/\s+(\d+ ... # ^

to

split/\s*(\d+ ... # ^

otherwise it fails to capture '1.' => 'AB_CD'.

Athanasius <°(((><contra mundum

Replies are listed 'Best First'.
Re^3: Convert string to data structure (split)
by tye (Sage) on Sep 21, 2012 at 16:06 UTC

    I did. Three times. Not sure how it still ended up not submitted that way. Thanks for pointing it out. :)

    - tye