Merge pull request #1672 from github/aeisenberg/sarif-again

Fix broken regex
This commit is contained in:
Aditya Sharad 2023-05-05 12:53:12 -07:00 committed by GitHub
commit deb312c60b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2368,7 +2368,7 @@
"description": "The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).",
"type": "string",
"default": "en-US",
"pattern": "^(?i)[a-zA]{2}(-[a-z]{2})?$"
"pattern": "^[a-zA-Z]{2}(-[a-zA-Z]{2})?$"
},
"versionControlProvenance": {
@ -3078,7 +3078,7 @@
"description": "The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase language code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).",
"type": "string",
"default": "en-US",
"pattern": "^(?i)[a-zA]{2}(-[a-z]{2})?$"
"pattern": "^[a-zA-Z]{2}(-[a-zA-Z]{2})?$"
},
"contents": {
@ -3386,4 +3386,4 @@
}
}
}
}
}