Ammar Ali wrote in post #1047200:
> I wrote one a while ago. It doesn't exactly produce a tree like you
> described, but it does provide outputs that I think can be easily used
> to
> create such a tree.
>
>  https://github.com/ammar/regexp_parser

That looks like just the job, thank you!

-- 
Posted via http://www.ruby-forum.com/.