fixes #3: make Regex an instance of Show
fixes #5: implement RegexFlags with parsing, rendering, and retrieval