Skip to content

Commit

Permalink
fixed parser regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmel committed Jan 1, 2024
1 parent 02dee45 commit 0cdd306
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

## [2.0.5] - 2024-01-01
## [2.0.6] - 2024-01-01

- Go to definition support
- Ported to custom parser
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-html-css",
"displayName": "HTML CSS Support",
"description": "CSS Intellisense for HTML",
"version": "2.0.5",
"version": "2.0.6",
"license": "MIT",
"publisher": "ecmel",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import lineColumn from "line-column";

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

export const enum StyleType {
ID = "#",
Expand Down

0 comments on commit 0cdd306

Please sign in to comment.