module ActiveSupport::Multibyte::Unicode
def in_char_class?(codepoint, classes)
:v, :lv, :lvt and :t.
character class and +false+ otherwise. Valid character classes are: :cr, :lf, :l,
Detect whether the codepoint is in a certain character class. Returns +true+ when it's in the specified
def in_char_class?(codepoint, classes) classes.detect { |c| database.boundary[c] === codepoint } ? true : false end