An open API service indexing awesome lists of open source software.

https://github.com/biyuqi/regex-seed

Record regex how to use in daily dev work.常用正则表达式 - 项目开发中经常用到的正则表达式
https://github.com/biyuqi/regex-seed

learn-regex regex regexp regexp-match

Last synced: 10 months ago
JSON representation

Record regex how to use in daily dev work.常用正则表达式 - 项目开发中经常用到的正则表达式

Awesome Lists containing this project

README

          

## 总结记录学习正则
> 记录总结学习正则以及Js开发中可能会遇到的正则相关问题, 欢迎提PR, 添加TODO & 认领并解决TODO, 点star.

## 在线调试
- [Regex101](https://regex101.com)
- [Regexr](http://regexr.com/)

## 背景知识
- [正则表达式30分钟入门教程](https://deerchao.net/tutorials/regex/regex.htm)
- [正则表达式-入门篇](http://loadingmore.com/2017/11/26/%E3%80%90%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E7%B3%BB%E5%88%97%E3%80%91%E5%85%A5%E9%97%A8%E7%AF%87/)
- [正则表达式-贪婪与非贪婪模式](http://loadingmore.com/2017/11/26/%E3%80%90%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E7%B3%BB%E5%88%97%E3%80%91%E5%85%A5%E9%97%A8%E7%AF%87/)

## 文章列表
- [x] [必须包含数字字母特殊字符
](https://github.com/BiYuqi/regex-seed/issues/1)
- [x] [中划线字符转换为驼峰](https://github.com/BiYuqi/regex-seed/issues/2)
- [x] [获取并解析url参数](https://github.com/BiYuqi/regex-seed/issues/3)
- [x] [获取代码段文件的代码块](https://github.com/BiYuqi/regex-seed/issues/4)
- [x] [零宽断言之正预测先行断言(?=exp)用法](https://github.com/BiYuqi/regex-seed/issues/5)
- [x] [零宽断言之负预测先行断言(?!exp)用法](https://github.com/BiYuqi/regex-seed/issues/6)
- [x] [创建一个捕获组,以便提取数据](https://github.com/BiYuqi/regex-seed/issues/7)

## TODO

- [ ] 判断日期格式是否符合 '2019-01-01'的形式
- [ ] 获取html页面中script内部代码
- [ ] 创建一个捕获组,并使用反向引用匹配特定字符
- [ ] 只匹配数据,不使用捕获