fix Issue #155, greedy curly