blob: fdf288270b7cc3ab38a99cd7de6a72c6fb1a8948 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import identifier from "./identifier.js";
import attributes from "./attributes.js";
export default ":(" + identifier + ")(?:\\((" +
// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
// 1. quoted (capture 3; capture 4 or capture 5)
"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +
// 2. simple (capture 6)
"((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +
// 3. anything else (capture 2)
".*" +
")\\)|)";
|