module RegexpPropertyValues::Value::ExtAdapter
Public Instance Methods
matched_characters()
click to toggle source
# File lib/regexp_property_values/value/ext_adapter.rb, line 4 def matched_characters acc = [] matched_codepoints.each do |cp| acc << cp.chr('utf-8') if cp < 0xD800 || cp > 0xDFFF end acc end
matched_codepoints()
click to toggle source
# File lib/regexp_property_values/value/ext_adapter.rb, line 12 def matched_codepoints OnigRegexpPropertyHelper.matched_codepoints(name) rescue ArgumentError raise_unsupported_or_unknown_error end
matched_ranges()
click to toggle source
# File lib/regexp_property_values/value/ext_adapter.rb, line 18 def matched_ranges OnigRegexpPropertyHelper.matched_ranges(name) rescue ArgumentError raise_unsupported_or_unknown_error end