Anybody know of snippet that will parse a CSS3 selector like this:
"form#network_template[method='put'][action='#form_{keyname}']"
to this:
{
tag: "form",
id: "network_template",
method: "put",
action: "#form_{keyname}"
}
or this:
<form id="network_template" method="put" action="#form_{keyname}">