Skip to content

Commit

Permalink
Merge pull request #1672 from github/aeisenberg/sarif-again
Browse files Browse the repository at this point in the history
Fix broken regex
  • Loading branch information
adityasharad committed May 5, 2023
2 parents 11fba50 + 9824588 commit deb312c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sarif-schema-2.1.0.json
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -3386,4 +3386,4 @@
}
}
}
}
}

0 comments on commit deb312c

Please sign in to comment.