Source

pyyaml / tests / data / resolver.path

Full commit
--- !root/scalar
"this scalar should be selected"
--- !root
key11: !foo
    key12: !root/key11/key12/*
        is: [selected]
    key22:
        key13: [not, selected]
        key23: [not, selected]
    key32:
        key31: [not, selected]
        key32: [not, selected]
        key33: {not: selected}
key21: !bar
    - not selected
    - !root/key21/1/* selected
    - not selected
key31: !baz
    key12:
        key13:
            key14: !root/key31/*/*/key14/map {selected}
        key23:
            key14: [not, selected]
        key33:
            key14: !root/key31/*/*/key14/map {selected}
            key24: {not: selected}
    key22:
        -   key14: !root/key31/*/*/key14/map {selected}
            key24: {not: selected}
        -   key14: !root/key31/*/*/key14/map {selected}