Skip to content

Commit c1088b0

Browse files
committed
Chore: fix for pattern
1 parent ab38403 commit c1088b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/Constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const DOCUMENTATION = {
3333
}
3434

3535
export const PATTERNS = {
36-
DECIMAL_NUMBERS: /^-?\d*\.?\d*$/,
36+
STRING: /^[a-zA-Z0-9_]+$/,
3737
NATURAL_NUMBERS: /^\d*\.?\d*$/,
3838
KUBERNETES_KEY_PREFIX: /^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/,
3939
KUBERNETES_KEY_NAME: /^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$/,

0 commit comments

Comments
 (0)