“正则表达式”的版本间的差异
跳到导航
跳到搜索
Jihongchang(讨论 | 贡献) |
Jihongchang(讨论 | 贡献) |
||
第44行: | 第44行: | ||
[[正则表达式 Pattern 类|Pattern 类]] | [[正则表达式 Pattern 类|Pattern 类]] | ||
− | + | [[正则表达式 Matcher 类|Matcher 类]] | |
2022年11月19日 (六) 08:35的版本
https://www.bilibili.com/video/BV1Eq4y1E79W
元字符大全:
https://www.runoob.com/regexp/regexp-metachar.html
可视化工具:
https://c.runoob.com/front-end/7625
语法
[] 和 () 的区别:
[] 括起来的是字符集合;
() 主要表示匹配后分组捕获。