It selects all elements with the regex= attribute (which it represents, it may be empty).
Although the entire selector may be implied, it may be simple:
$("[regex]")
Both are very inefficient, although it would be better to add an element type or anything to narrow it down to attribute searches.
source share