YAML loader Post-processors

Is there any way of altering the type of data being read from a YAML
document? I would like to turn strings matching /(\d+)..(\d+)/ into
ranges,
        nikolai (dreaming on…)

···

--
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}