Commit 4fdef95
fix: correct regex operator precedence for CSS unit pattern anchoring
Change /^px|cm|...|Q$/ to /^(px|cm|...|Q)$/ so that ^ and $ anchor
the entire alternation, not just the first and last alternatives.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent be75349 commit 4fdef95
1 file changed
Lines changed: 1 addition & 1 deletion
0 commit comments