Escape curly brace in gsub regexp for #each_with_prefix

I am seeing regex warnings on STDERR with riddle 1.5.4 and it looks like the intent here was to match on lines ending with '{'.