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 1fbfccd commit a685205Copy full SHA for a685205
src/Common/Constants.ts
@@ -36,7 +36,7 @@ export const PATTERNS = {
36
STRING: /^[a-zA-Z0-9_]+$/,
37
DECIMAL_NUMBERS: /^-?\d*\.?\d*$/,
38
POSITIVE_DECIMAL_NUMBERS: /^\d*\.?\d*$/,
39
- NATURAL_NUMBERS: /^\d*\.?\d*$/,
+ NATURAL_NUMBERS: /^[1-9]\d*$/,
40
KUBERNETES_KEY_PREFIX: /^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/,
41
KUBERNETES_KEY_NAME: /^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$/,
42
START_END_ALPHANUMERIC: /^(([A-Za-z0-9].*[A-Za-z0-9])|[A-Za-z0-9])$/,
0 commit comments