Ticket #5607 (closed bug: duplicate)
:contains() selector doesn't support parentheses
|Reported by:||Sanity||Owned by:|
So, it seems I don't actually need quotes when using contains:
$(':contains(foo)') works as expected.
$(':contains("foo")') does the exact same thing.
$(':contains("(foo")') dies with: Syntax error, unrecognized expression: "(assembling")
So I have to wonder, what is the point of the quotes if they don't actually escape anything? Should they be dropped, or should this be fixed to allow parens?