Master Regular Expressions 2nd Edition(一)
来源:互联网 发布:华为云计算工程师招聘 编辑:程序博客网 时间:2024/05/06 03:22
1、大多数正则表达式工具有自己的flavor
2、Perl使用以下表达式来匹配:
$variable =~ m/regex/
3、元字符的含义取决于context
4、/t Tab
/n newline
/r 回车
/s 任何空白字符(空格、tab、newline等)
/S 非/s
/w [a-zA-Z0-9_]
/W 非/w
/d [0-9]
/D 非/d
/b 字首或字尾
5、参数i:大小写不敏感
6、(?:...)不捕获子表达式
7、Perl使用$1、$2、$3等代表匹配的子表达式。子表达式以左括号的顺序编号。除了6中的说明外,其余()皆为可捕获的子表达式
- Master Regular Expressions 2nd Edition(一)
- Master Regular Expressions 2nd Edition(二)
- Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET, 2nd edition
- Memories of 《Mastering Regular Expressions》3rd Edition
- 读书笔记《Mastering Regular Expressions》(一)
- Regular Expressions 正则表达式(一)
- 《Java Swing》2nd Edition
- Hacking Exposed - 2nd Edition
- Programming C# (2nd Edition)
- Programming C# (2nd Edition)
- 《Programming Pearls》 2nd Edition
- Software Testing (2nd Edition)
- Google Hacks, 2nd Edition
- Access Cookbook, 2nd Edition
- Understanding .NET (2nd Edition)
- Professional Ajax, 2nd Edition
- PHP Essentials, 2nd Edition
- XML Bible (2nd Edition)
- java线程并发包util.concurrent的研究(四)
- 老实人死板
- 低落的心情
- 2005精品书籍-go go go
- 工作前培训的考虑因素
- Master Regular Expressions 2nd Edition(一)
- 使用反射将业务对象绑定到 ASP.NET 窗体控件
- FreeTextBox3.0 Toolbar configuration
- linux软件安装学习
- 微软office2004 抢新体验版
- 页面校验函数库V1.0
- VC快捷键大全
- [imgFS]最初的想法
- BBS变量表