Debian Codegraph @

vendor/static/jquery/src/selector/var/attributes.js

raw
1 import { whitespace } from "../../var/whitespace.js";
2 import { identifier } from "./identifier.js";
3
4 // Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors
5 export var attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
6
7 // Operator (capture 2)
8 "*([*^$|!~]?=)" + whitespace +
9
10 // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
11 "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" +
12 whitespace + "*\\]";