basho / cuttlefish

never lose your childlike sense of wonder baby cuttlefish, promise me?
Apache License 2.0
205 stars 124 forks source link

$names with dots in them won't work #9

Closed joedevivo closed 11 years ago

joedevivo commented 11 years ago

if your mapping is hey.$name, and your $name is "steve.vinsoki" this thing won't work.

What's worse, if you define key.$name.attribute and you want name to equal "steve.attribute" it'll match on the wrong thing.

dat delimiter.

joedevivo commented 11 years ago

Dots in a key will now work with a "\" escape char.

e.g. key.$name.attribute -> key.steve.vinoski.attirbute will match "steve.vinoski" to $name.