mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-25 12:54:06 -04:00
Double patterns for uniques, for square brackets as well
This commit is contained in:
parent
1891a37c66
commit
08816c7f6b
@ -1,7 +1,19 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[^><]*(\\<[^>]*\\>[^><]*)*$"
|
||||
"allOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "All <> brackets come in pairs",
|
||||
"pattern": "^[^><]*(\\<[^>]*\\>[^><]*)*$"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "All [] brackets come in pairs",
|
||||
"pattern": "^[^\\[\\]]*(\\[[^\\[\\]]*\\][^\\[\\]]*)*$"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user