jquery/sizzle — Issue #76: Support periods in data attribute selectors
Author: ryanve
Created: 2011-10-26 15:22:22+00:00
State: open

Sizzle supports data attribute selectors when they include dashes and underscores, but not when they include periods. This would be useful. Periods are valid in the [naming rules](http://dev.w3.org/html5/spec/Overview.html#custom-data-attribute).

data-example1.0="This is a valid in HTML5 "
data-example1-0="This is a valid in HTML5 "

$( '[data-example1-0]' ) // Targetable in jQuery.
$( '[data-example1.0]' ) // Throws "unrecognized expression" Sizzle error in jQuery.