diff --git a/src/modules/globalifySelector.ts b/src/modules/globalifySelector.ts index 9cd41013..f3132ceb 100644 --- a/src/modules/globalifySelector.ts +++ b/src/modules/globalifySelector.ts @@ -4,6 +4,7 @@ * We use a negative lookbehind assertion to prevent matching * escaped combinators like `\~`. */ +// TODO: maybe replace this ugly pattern with an actual selector parser? (https://github.com/leaverou/parsel, 2kb) const combinatorPattern = /(?+~,]\s*)(?![^[]+\]|\d)/g; export function globalifySelector(selector: string) {