Class: Microformats::ParserCore

Inherits:
Object
  • Object
show all
Defined in:
lib/microformats/parser_core.rb

Constant Summary collapse

VALUE_CLASS_REG_EXP =
/^value$/
VALUE_TITLE_CLASS_REG_EXP =
/^value-title$/
FORMAT_CLASS_REG_EXP =
/^h-[a-z-]+$/
PROPERTY_CLASS_REG_EXP =
/^(p-|u-|dt-|e-)[a-z-]+$/

Instance Method Summary collapse

Constructor Details

#initializeParserCore

Returns a new instance of ParserCore.



8
9
10
11
# File 'lib/microformats/parser_core.rb', line 8

def initialize
  @mode_backcompat = false
  @fmt_classes = []
end