A library for tokenizing, lexing, and parsing Ruby regular expressions
https://github.com/ammar/regexp_parser