fixes #5: implement RegexFlags with parsing, rendering, and retrieval

Ah, I found it: https://github.com/purescript/purescript/blob/46531223ac12fbe17e3725b09c31c3370fc22161/docgen/Main.hs#L151