Since the current implementation (https://github.com/rharrison10/facter/blob/d5a7191709dbfe1c5c9b5dd3d5f67c7e05bd4b8a/lib/facter/ipaddress6.rb#L27) directly interpolates the `token` field using a regexp like this would work without any modifications.