Also matches attributes like `foo-data-bar`. `key.substr(0,5)==="data-"` is what you want to use.