UNPKG

st-common-core

Version:

小尾巴前端通用核心库

2 lines (1 loc) 384 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _={LINK_PATH_REG:/^(https?:\/\/)?(www\.)?(([a-zA-Z0-9-]+\.)+([a-zA-Z]{2,})(\/[^\s]*)*)$/,ROUTE_PATH_REG:/^(\/[a-zA-Z0-9-_]+(\/[a-zA-Z0-9-_]+)*\/?(\?([a-zA-Z0-9-_]+=[a-zA-Z0-9-_]*)(&[a-zA-Z0-9-_]+=[a-zA-Z0-9-_]*)*)?)?$/,VUE_COMPONENT_PATH_REG:/^(\/[a-zA-Z0-9-_]+)+(\.vue)$/};exports.PathRegConst=_;