1.2.0: Stop using deprecated re2 APIs
GitHub: #40
As re2 has deprecated and now removed the utf8
option, re-implement the option in the gem in terms of the encoding
and set_encoding
API.
This should be entirely backward-compatible as the encoding
API has been present since the initial release in 2010.
Thanks to @buzzdeee for reporting this upcoming breaking change.