Issue #14: Match URLs - check that a string with '{' and '}' is balanced.