blob: 64fde1d1c3ff194405c3bd92040defaa4b748493 (
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 var pseudos = ":(" + 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)
".*" +
")\\)|)";
|