fe-star / homework7 Goto Github PK
View Code? Open in Web Editor NEWRegular Expressions
Regular Expressions
1、部分同学已经完成了练习,基本都存在或多或少的问题
2、关于练习的用例不够完善的问题,可以参考这个 pr 下的回复 #3
在这里写这个示例的时候,我故意把用例写简单,可以对比一下已经写好的用例
mobile
number
,应该不难发现这几个的用例会比较完善,这么做的目的一方面可以让大家把思考的过程以及想到的用例都补充进去,而不是为了完成作业而作业
关于练习和用例的问题,准备在周末的答疑里专门讲一下,有时间的同学尽量都做一下吧
测试用例可以针对这些添加测试规则,更具准确的匹配出一个合法的手机号。
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.