We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0caf296 commit 8f2c85fCopy full SHA for 8f2c85f
pages/understanding-json-schema/reference/regular_expressions.md
@@ -85,14 +85,17 @@ The following example checks that the string starts with `{{` and ends with `}}`
85
and that it also allows multiline strings.
86
87
```json
88
- {
89
- "type": "string",
90
- "pattern": "^\\{\\{(.|[\\r\\n])*\\}\\}$",
91
- }
+// props { "isSchema": true }
+{
+ "type": "string",
+ "pattern": "^\\{\\{(.|[\\r\\n])*\\}\\}$",
92
+}
93
```
94
- "{{ foo\nbar }}"
95
+// props { "indent": true, "valid": true }
96
+"{{ foo\nbar }}"
97
98
- "{ foo }"
99
+// props { "indent": true, "valid": false }
100
+"{ foo }"
101
0 commit comments