jquery/jquery — pull request #1390 by ronny-springer (2013-10-04 13:02:04+00:00)
Title: prevent parsing guid strings to json

I use data-attribute at html with guid strings (Globally Unique Identifier) and I run into parse json error by using .data() methode.

<div data-field-guid="{c2ef0eb8-f120-40e4-8a81-41be82d87729}"> ... </div>

At first I changed .data('') to .attr('data-...') as a workaround. But the real problem is rbrace expression at data.js. So, I update this one to search for any single character in between a colon (one and more). (simple test cases: http://www.rubular.com/r/wdV4vvylCq)

Please review my code change.