feat(shell): enhance regex validators to match on entire string (#1603)

This commit is contained in:
Lucas Fernandes Nogueira
2024-08-02 10:03:35 -03:00
committed by GitHub
parent b1e5cae5a0
commit 34df132fb1
8 changed files with 45 additions and 9 deletions
@@ -36,7 +36,7 @@
"dialog:allow-confirm",
"dialog:allow-message",
{
"identifier": "shell:allow-execute",
"identifier": "shell:allow-spawn",
"allow": [
{
"name": "sh",
@@ -44,7 +44,7 @@
"args": [
"-c",
{
"validator": "\\S+"
"validator": ".+"
}
]
},
@@ -54,7 +54,7 @@
"args": [
"/C",
{
"validator": "\\S+"
"validator": ".+"
}
]
}