Add documentation to Generator\Regex