Type:
Class
Constants:
TIME : /^\d{4}-\d{1,2}-\d{1,2}([Tt]|\s+)\d{1,2}:\d\d:\d\d(\.\d*)?(\s*Z|[-+]\d{1,2}(:\d\d)?)?/

Taken from yaml.org/type/timestamp.html

FLOAT : /^(?:[-+]?([0-9][0-9_,]*)?\.[0-9]*([eE][-+][0-9]+)?(?# base 10) |[-+]?[0-9][0-9_,]*(:[0-5]?[0-9])+\.[0-9_]*(?# base 60) |[-+]?\.(inf|Inf|INF)(?# infinity) |\.(nan|NaN|NAN)(?# not a number))$/x

Taken from yaml.org/type/float.html

INTEGER : /^(?:[-+]?0b[0-1_]+ (?# base 2) |[-+]?0[0-7_]+ (?# base 8) |[-+]?(?:0|[1-9][0-9_]*) (?# base 10) |[-+]?0x[0-9a-fA-F_]+ (?# base 16))$/x

Taken from yaml.org/type/int.html

Scan scalars for built in types

tokenize

tokenize(string) Instance Public methods Tokenize string returning

2015-04-29 10:24:16
parse_time

parse_time(string) Instance Public methods Parse and return a

2015-04-29 10:17:46
parse_int

parse_int(string) Instance Public methods Parse and return an int from string

2015-04-29 10:13:14
new

new() Class Public methods Create a new scanner

2015-04-29 10:09:18