Skip to content

Commit b7f7c2e

Browse files
committed
dom - fix selector regex escaping
1 parent 256cd00 commit b7f7c2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/browser/dom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ export function prepend<T extends Node>(parent: HTMLElement, child: T): T {
10041004
return child;
10051005
}
10061006

1007-
const SELECTOR_REGEX = /([\w\-]+)?(#([\w\-]+))?((.([\w\-]+))*)/;
1007+
const SELECTOR_REGEX = /([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;
10081008

10091009
export enum Namespace {
10101010
HTML = 'http://www.w3.org/1999/xhtml',

0 commit comments

Comments
 (0)