Open jeremyfiel opened 2 months ago
@jeremyfiel you could use abnf-to-regexp to generate one.
ChatGPT proposes this:
^\$(?:url|method|statusCode|(?:request|response|message)\.(?:header\.[!#$%&'*+\-.^_`|~0-1]+|query\.[A-Za-z0-9_.-]+|path\.[A-Za-z0-9_.-]+|body(?:#(?:[^\/~]|~[01])*) )|inputs\.[A-Za-z0-9_.-]+|outputs\.[A-Za-z0-9_.-]+|steps\.[A-Za-z0-9_.-]+|workflows\.[A-Za-z0-9_.-]+|sourceDescriptions\.[A-Za-z0-9_.-]+|components\.[A-Za-z0-9_.-]+|components\.parameters\.[A-Za-z0-9_.-]+)$
Not confident in that. Also, not confident what CHAR should mean (here it is limited to alphanumeric and _.-
characters.
See #253
Is there a common runtime expression validation format or regex out in the wild? I tried the googles, but nothing comes up.