musingsz / diancanba Goto Github PK
View Code? Open in Web Editor NEWThis project forked from lizhug/diancanba
点餐吧微信端代码
This project forked from lizhug/diancanba
点餐吧微信端代码
/*所有用到的正则规范*/ 1.用户及商家密码规范:6-16位 英文/下划线/数字 /^[a-zA-Z0-9_]{6,16}$/ 2. 用户名规范 /^[_\u4E00-\u9FFFA-Za-z0-9]{2,20}$/i; /^[_\x{4e00}-\x{9fa5}A-Za-z0-9]{2,20}$/iu For PHP 2.商铺电话正则 /^[\d\/- ]*$/ 2.送餐速度正则 /^.{0,100}$/ 2.邮箱规范 /^[a-zA-Z0-9-._]{1,50}@[a-zA-Z0-9-]{1,65}.(com|net|org|info|biz|([a-z]{2,3}.[a-z]{2}))$/i 3. 地址正则规范: 4-20位 中文/英文/下划线/中划线/数字/. /^.{4,100}$/ 4. 店铺名称正则规范 1-22位任意字符 /^.{1,42}$/ 5. 价格的正则规范 /^\d{1,3}(\.)?\d{0,2}$/ 5.接受订单用户的正则 /^.{1,20}$/i 6. 电话号码正则8-20位 数字或者{-} /^(0|86|17951)?(13[0-9]|15[012356789]|18[0-9]|14[57])[0-9]{8}$/ 7.商铺简介的正则 /^.{0,500}$/ 8.商铺地址的正则 /^.{0,500}$/ 9.商铺营业时间的正则 /^.{0,200}$/ /********************************管理员页面的正则********************************************/ 账号 /^[a-zA-Z0-9_]{6,16}$/i, 密码 /^[a-zA-Z0-9_-]{6,20}$/i;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.