Class: Yuriita::Lexer

Inherits:
RLTK::Lexer
  • Object
show all
Defined in:
lib/yuriita/lexer.rb

Constant Summary collapse

DATETIME_REGEX =
%r{
  ([0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])
  (
    T
    ((2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9]))
    (Z|[+-](2[0-3]|[01][0-9])(:[0-5][0-9])?)
  )?
}x