Module: MathML::LaTeX::RE
- Defined in:
- lib/math_ml/latex.rb
Constant Summary collapse
- SPACE =
/(?:\s|%.*$)/
- NUMERICS =
/(?:\.\d+)|(?:\d+(\.\d+)?)/
- OPERATORS =
/[,\.\+\-\*=\/\(\)\[\]<>"|;:!]/
- ALPHABETS =
/[a-zA-Z]/
- BLOCK =
/\A\{(.*?)\}\z/m
- OPTION =
/\A\[(.*)\]\z/m
- COMMANDS =
/\\([a-zA-Z]+|[^a-zA-Z])/
- WBSLASH =
/\\\\/
- BRACES =
/\A([.|\[\]\(\)<>])\z/