smartcode = '{{question.answer}} and {{question.author}}'puts smartcode.scan(/{{[^{}]*\.([^{}]*)}}/)
Standard input is empty
answer author
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!