We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5c1e7d commit 9b206b1Copy full SHA for 9b206b1
1 file changed
src/validators.js
@@ -89,7 +89,8 @@ export default {
89
90
const err = [];
91
92
- const re = /^[1-9][0-9]{16}$/;
+ // Range 76561197960265729-76561202255233023
93
+ const re = /^76561[1-2][0-9]{11}$/;
94
if (!re.test(value)) err.push('This is not a valid steamid!');
95
96
return err;
@@ -100,7 +101,8 @@ export default {
100
101
102
103
- const re = /^[1-9][0-9]{17}$/;
104
+ // Range 103582791429521408-103582795724488703
105
+ const re = /^10358279[1-5][0-9]{9}$/;
106
if (!re.test(value)) err.push('This is not a valid clan id!');
107
108
0 commit comments