in reply to Re^2: Help with regular expressionin thread Help with regular expression
You can turn that into choroba-s hashy structure using Data::Rmap