Skip to content

Commit

Permalink
Limit trigger to letters and numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodywasishere committed Feb 20, 2024
1 parent 9aaf6a5 commit 2008fa7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data/bangs.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"t": {
"type": "string",
"title": "Trigger",
"description": "The specific trigger word or phrase used to invoke the bang."
"description": "The specific trigger word or phrase used to invoke the bang.",
"pattern": "^[a-zA-Z0-9]$"
},
"u": {
"type": "string",
Expand Down Expand Up @@ -72,4 +73,4 @@
],
"additionalProperties": false
}
}
}

0 comments on commit 2008fa7

Please sign in to comment.