Skip to content

Commit 0cdd306

Browse files
committed
fixed parser regex
1 parent 02dee45 commit 0cdd306

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to the extension will be documented in this file.
44

5-
## [2.0.5] - 2024-01-01
5+
## [2.0.6] - 2024-01-01
66

77
- Go to definition support
88
- Ported to custom parser

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-html-css",
33
"displayName": "HTML CSS Support",
44
"description": "CSS Intellisense for HTML",
5-
"version": "2.0.5",
5+
"version": "2.0.6",
66
"license": "MIT",
77
"publisher": "ecmel",
88
"author": {

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import lineColumn from "line-column";
77

88
const regex =
9-
/([.#])(-?[_a-zA-Z]+[_a-zA-Z0-9-]*)(?=[#.,\s\[\]\^:*"'=_a-zA-Z0-9-]*{[^}]*})/g;
9+
/([.#])(-?[_a-zA-Z]+[_a-zA-Z0-9-]*)(?=[#.,()\s\[\]\^:*"'>=_a-zA-Z0-9-]*{[^}]*})/g;
1010

1111
export const enum StyleType {
1212
ID = "#",

0 commit comments

Comments
 (0)