<form id="f">
<input name="specialchars[]" value="test" />
</form>

Test to find out which selector types use single or double escaping of meta characters as shown in the documentation