Yeah, I did a quick check in vim, and it looks like the braces do match up. I'm not sure what the problem is either. I went to the original page ("this method" link in the note at the top), copied and pasted from there, and it saved without a syntax error. This seems to be a few lines longer, though I might have…