Skip to content

Commit

Permalink
Merge pull request #1912 from w3c/ege-tm-schema-update
Browse files Browse the repository at this point in the history
TM Regex fix
  • Loading branch information
egekorkan authored Nov 8, 2023
2 parents f96b4ff + 9adcac3 commit 799a568
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions validation/tm-json-schema-validation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1849,8 +1849,8 @@
{
"not": {
"type": "string",
"pattern": "(/)(.*\\1){2}",
"$comment": "regex tests available at https://regex101.com/r/Ytzd72/1"
"pattern": "(/)(.*/){2}",
"$comment": "regex tests available at https://regex101.com/r/r7vB0r/2"
}
}
]
Expand Down
4 changes: 2 additions & 2 deletions validation/tmSchemaGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ function addTmTerms(argObject){
{
"not": {
"type": "string",
"pattern": "(/)(.*\\1){2}",
"$comment": "regex tests available at https://regex101.com/r/Ytzd72/1"
"pattern": "(/)(.*/){2}",
"$comment": "regex tests available at https://regex101.com/r/r7vB0r/2"
}
}
]
Expand Down

0 comments on commit 799a568

Please sign in to comment.