Class: Hamdown::MdRegs::Fonts2
- Inherits:
-
AbstractReg
- Object
- AbstractReg
- Hamdown::MdRegs::Fonts2
- Defined in:
- lib/hamdown/md_regs/fonts2.rb
Overview
class with logic of markdown’s italic and monospace text
Constant Summary collapse
- REGS =
TODO: add ‘?:’ to unuseful group /learn(?:bydoing)/
{ 'italic' => /((?<!\*|\\)\*[^\*\n].+?[^\*|\\]\*(?!\*))|(_.+?_)/, 'monospace' => /[^`](`[^`]+`)/ }.freeze