Class: Hamdown::MdRegs::OList
- Inherits:
-
AbstractReg
- Object
- AbstractReg
- Hamdown::MdRegs::OList
- Defined in:
- lib/hamdown/md_regs/o_list.rb
Overview
class with logic of markdown’s ordered lists TODO: add nested lists support
Constant Summary collapse
- REGS =
TODO: add ‘?:’ to unuseful group /learn(?:bydoing)/
{ 'o_list' => /((^ *\d{1,3}\. .*\n)+)/ }.freeze