Module: Livetext::ParsingConstants
- Defined in:
- lib/livetext/parsing.rb,
lib/livetext/skeleton.rb
Overview
Constants for parsing
Constant Summary collapse
- SimpleFormats =
{}
- BITS =
SimpleFormats.keys
- Null =
""- Space =
" "- Alpha =
/[A-Za-z]/- AlNum =
/[A-Za-z0-9_]/- LF =
"\n"- LBrack =
"["- Blank =
[" ", nil, "\n"]
- Punc =
[")", ",", ".", " ", "\n"]
- NoAlpha =
/[^A-Za-z0-9_]/- NoAlphaDot =
/[^.A-Za-z0-9_]/- Param =
["]", "\n", nil]
- Escape =
not an ESC char
"\\"- Syms =
{ "*" => :b, "_" => :i, "`" => :t, "~" => :s }