Skip to content

Commit

Permalink
use non-capturing group
Browse files Browse the repository at this point in the history
  • Loading branch information
rviscomi committed Feb 26, 2025
1 parent 1d66ae5 commit 68dc007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generate-baseline.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function extractCSSFeatures(features) {
const cssMediaConditionPattern =
/^css\.at-rules\.media\.(?<condition>[a-zA-Z$\d-]+)$/u;
const cssTypePattern =
/^css\.types\.(?:.*?\.)?(?<type>[a-zA-Z\d-]+)(?=\.[^.]*$|[^.]*$)/u;
/^css\.types\.(?:.*?\.)?(?<type>[a-zA-Z\d-]+)(?:\.[^.]*$|[^.]*$)/u;
const cssSelectorPattern = /^css\.selectors\.(?<selector>[a-zA-Z$\d-]+)$/u;

const properties = {};
Expand Down

0 comments on commit 68dc007

Please sign in to comment.