Skip to content

Commit 9124561

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 d57cc8b + 13cb625 commit 9124561

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Common/Constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export const DOCUMENTATION = {
3434

3535
export const PATTERNS = {
3636
STRING: /^[a-zA-Z0-9_]+$/,
37+
DECIMAL_NUMBERS: /^-?\d*\.?\d*$/,
3738
NATURAL_NUMBERS: /^\d*\.?\d*$/,
3839
KUBERNETES_KEY_PREFIX: /^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/,
3940
KUBERNETES_KEY_NAME: /^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$/,

0 commit comments

Comments
 (0)