chyh1990 / yaml-rust

A pure rust YAML implementation.
Apache License 2.0
611 stars 141 forks source link

can not part ref #168

Open wzhsh90 opened 3 years ago

wzhsh90 commented 3 years ago

Hi: this is my yaml file type: book book: title: Dune author: Frank Herbert copyright: ${book.author} 1965

i want to parse the copyright to" Frank Herbert 1965 " but it dose not work.

can you give me some suggest ?

mabushey commented 3 years ago

This crate seems to be a nightmare. Read your yaml file like a normal text file, then use regular expressions to grab the author and date lines.