Skip to content

Commit a4bd9ee

Browse files
committed
allow for another version of zero intercept models
1 parent 6b7675a commit a4bd9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/schema_contrasts.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"formula": {
1717
"type": "string",
18-
"pattern": "^~\\s*[a-zA-Z0-9_]*(\\s*([:+*])\\s*[a-zA-Z0-9_]*)*$"
18+
"pattern": "^~\\s*(?:[A-Za-z0-9_]+(?:\\s*(?:[:+*])\\s*[A-Za-z0-9_]+)*)?(?:\\s*-\\s*1)?$"
1919
},
2020
"comparison": {
2121
"type": "array",

0 commit comments

Comments
 (0)