class JsRegex::Converter::SetConverter

Template class implementation.

Unlike other converters, this one does not recurse on subexpressions, since many are unsupported by JavaScript. If it detects incompatible children, it uses the ‘character_set` gem to establish the codepoints matched by the whole set and build a completely new set string.