Skip to content

Commit 1908965

Browse files
authored
Merge pull request #34 from pdolezal0/patch-1
Update getting-started.mdx - replace regex
2 parents 068ff1b + 7c9b0ae commit 1908965

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/docs/getting-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ To enable autocompletion for **Tailwind Variants** you can follow the instructio
200200
```json copy
201201
{
202202
"tailwindCSS.experimental.classRegex": [
203-
["tv\\((([^()]*|\\([^()]*\\))*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
203+
["([\"'`][^\"'`]*.*?[\"'`])", "[\"'`]([^\"'`]*).*?[\"'`]"]
204204
]
205205
}
206206
```
@@ -215,7 +215,7 @@ To enable autocompletion for **Tailwind Variants** you can follow the instructio
215215
tailwindCSS = {
216216
experimental = {
217217
classRegex = {
218-
{ "tv\\((([^()]*|\\([^()]*\\))*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]" }
218+
{ "([\"'`][^\"'`]*.*?[\"'`])", "[\"'`]([^\"'`]*).*?[\"'`]" }
219219
},
220220
},
221221
},
@@ -231,7 +231,7 @@ To enable autocompletion for **Tailwind Variants** you can follow the instructio
231231
"experimental": {
232232
"configFile": null,
233233
"classRegex": [
234-
["tv\\((([^()]*|\\([^()]*\\))*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
234+
["([\"'`][^\"'`]*.*?[\"'`])", "[\"'`]([^\"'`]*).*?[\"'`]"]
235235
]
236236
}
237237
```

0 commit comments

Comments
 (0)