Class: JsRegex::Converter::SetConverter

Inherits:
Base
  • Object
show all
Defined in:
lib/js_regex/converter/set_converter.rb

Overview

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.

Method Summary

Methods inherited from Base

#convert