module JsRegex::Converter
Constants
- MAP
Public Class Methods
Source
# File lib/js_regex/converter.rb, line 26 def convert(exp, context = nil) self.for(exp).convert(exp, context || Context.new) end
Source
# File lib/js_regex/converter.rb, line 30 def for(expression) MAP[expression.type].new end
Source
# File lib/js_regex/converter.rb, line 35 def surrogate_pair_limit=(_arg) warn '#surrogate_pair_limit= is deprecated and has no effect anymore.' end
Legacy method. Remove in v4.0.0.