Skip to content

Commit dd2e5e2

Browse files
committed
Merge branch 'feat/mandatory-tags-v2' of https://github.com/devtron-labs/devtron-fe-common-lib into feat/mandatory-tags-cd
2 parents 38a19a7 + c1088b0 commit dd2e5e2

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)