Changeset 226
- Timestamp:
- 08/16/06 17:07:47 (2 years ago)
- Files:
-
- pyyaml/trunk/lib/yaml/resolver.py (modified) (1 diff)
- pyyaml/trunk/tests/data/construct-bool.code (modified) (1 diff)
- pyyaml/trunk/tests/data/construct-bool.data (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pyyaml/trunk/lib/yaml/resolver.py
r223 r226 154 154 Resolver.add_implicit_resolver( 155 155 u'tag:yaml.org,2002:bool', 156 re.compile(ur'''^(?:yes|Yes|YES|n |N|no|No|NO156 re.compile(ur'''^(?:yes|Yes|YES|no|No|NO 157 157 |true|True|TRUE|false|False|FALSE 158 158 |on|On|ON|off|Off|OFF)$''', re.X), pyyaml/trunk/tests/data/construct-bool.code
r58 r226 4 4 "logical": True, 5 5 "option": True, 6 "but": { "y": "is a string", "n": "is a string" }, 6 7 } pyyaml/trunk/tests/data/construct-bool.data
r59 r226 3 3 logical: True 4 4 option: on 5 6 7 but: 8 y: is a string 9 n: is a string
