Given the following Ruby script:
require 'yaml'
puts YAML::VERSION
text = <<~TXT
items:
tags:
- 0001
- 0002
- 0003
- 0004
- 0005
- 0006
- 0007
- 0008
- 0009
TXT
puts YAML.dump YAML.load(text)
when run outputs the following:
3.3.0
---
items:
tags:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- '0008'
- '0009'
Any reason why there's a special behavior for numbers 0-7 but not for 8 and 9?