Skip to content

Commit eef5312

Browse files
committed
feat: updated regex pattern for NUMBER
1 parent 085e02c commit eef5312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

definitions/standard/data_type/primitive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{
1717
"config": {
1818
"Regex": {
19-
"pattern": "/^(?:-(?:[1-9](?:\\d{0,2}(?:,\\d{3})+|\\d*))|(?:0|(?:[1-9](?:\\d{0,2}(?:,\\d{3})+|\\d*))))(?:.\\d+|)$/"
19+
"pattern": "^-?\\d+(?:[.,]\\d+)?$"
2020
}
2121
}
2222
}

0 commit comments

Comments
 (0)