Skip to content

Commit 61ab9e3

Browse files
authored
Merge pull request tailwindlabs#1816 from frederikhors/patch-1
Unnecessary escape character
2 parents 0dfbc7c + 822689f commit 61ab9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/purgeUnusedStyles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default function purgeUnusedUtilities(config) {
8686
const broadMatches = content.match(/[^<>"'`\s]*[^<>"'`\s:]/g) || []
8787

8888
// Capture classes within other delimiters like .block(class="w-1/2") in Pug
89-
const innerMatches = content.match(/[^<>"'`\s.(){}\[\]#=%]*[^<>"'`\s.(){}\[\]#=%:]/g) || []
89+
const innerMatches = content.match(/[^<>"'`\s.(){}[\]#=%]*[^<>"'`\s.(){}[\]#=%:]/g) || []
9090

9191
return broadMatches.concat(innerMatches)
9292
},

0 commit comments

Comments
 (0)