class Diva::Entity::BasicTwitterEntity

Constants

ESCAPE_RULE
MentionExactMatcher

screen nameのみから構成される文字列から、@などを切り取るための正規表現

MentionMatcher

screen nameにマッチする正規表現

REGEXP_ENTITY_DECODE_TARGET
REGEXP_ENTITY_ENCODE_TARGET

REGEXP_EACH_CHARACTER = //u.freeze

UNESCAPE_RULE

Public Class Methods

new(*_rest) click to toggle source
Calls superclass method
# File core/lib/diva_hacks/entity/basic_twitter_entity.rb, line 16
def initialize(*_rest)
  super
  set_message_entities
end