Skip to content

Commit

Permalink
fix: Some regular expression libraries require a [ inside a bracket e…
Browse files Browse the repository at this point in the history
…xpression to be escaped, #1689
  • Loading branch information
jpmckinney committed Dec 22, 2024
1 parent d748a5d commit 84ae6d3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions schema/dereferenced-release-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4128,7 +4128,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
}
},
"minProperties": 1
Expand Down Expand Up @@ -10087,7 +10087,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
}
},
"minProperties": 1
Expand Down Expand Up @@ -12641,7 +12641,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
}
},
"minProperties": 1
Expand Down Expand Up @@ -19734,7 +19734,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
}
},
"minProperties": 1
Expand Down Expand Up @@ -25689,7 +25689,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
}
},
"minProperties": 1
Expand Down Expand Up @@ -28237,7 +28237,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
}
},
"minProperties": 1
Expand Down Expand Up @@ -39413,7 +39413,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
}
},
"minProperties": 1
Expand Down Expand Up @@ -41378,7 +41378,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
}
},
"minProperties": 1
Expand Down Expand Up @@ -41428,7 +41428,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
}
},
"minProperties": 1
Expand Down
2 changes: 1 addition & 1 deletion schema/release-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2828,7 +2828,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
}
},
"minProperties": 1
Expand Down
2 changes: 1 addition & 1 deletion schema/versioned-release-validation-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3308,7 +3308,7 @@
"number",
"null"
],
"pattern": "^[([\\]][0-9]+,([0-9]+|INF)[)[\\]]$"
"pattern": "^[(\\[\\]][0-9]+,([0-9]+|INF)[)\\[\\]]$"
},
"releaseTag": {
"type": "array",
Expand Down

0 comments on commit 84ae6d3

Please sign in to comment.