公告板
版本库
filestore
活动
搜索
登录
data2
/
feisen_5008sServer
费森5008s 网口班通讯
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
gx提交
chenyc
2025-12-09
65e034683b28d799e73c7d7e5e4769fab5b9bc9c
[data2/feisen_5008sServer.git]
/
node_modules
/
ip-address
/
src
/
v4
/
constants.ts
1
2
3
4
5
6
7
export const BITS = 32;
export const GROUPS = 4;
export const RE_ADDRESS =
/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g;
export const RE_SUBNET_STRING = /\/\d{1,2}$/;