Skip to content

Commit

Permalink
remove capture group on color schema pattern
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Hahn <[email protected]>
  • Loading branch information
tomasciccola and EvanHahn authored May 14, 2024
1 parent c01dc25 commit dc578fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/preset/v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"color": {
"description": "string representation of a color in 24 bit (#rrggbb)",
"type": "string",
"pattern": "^#([a-fA-F0-9]{6})$"
"pattern": "^#[a-fA-F0-9]{6}$"
}
},
"required": [
Expand Down

0 comments on commit dc578fe

Please sign in to comment.