Source Insight正则表达式
2015-05-29 20:31
357 查看
Source Insight正则表达式只支持以下形式:
元字符(meta character)
^ (at the beginning only) beginning of line
. any single character
$ the end of the line
* zero or more occurrences of the precedingcharacter
+ one or more occurrences of the precedingcharacter
- 在字符集合中定义一个区间。如[A-Za-z],不在[]中使用时无需转义
\ 对下一个字符转义
[abc] any single character that belongs to the set abc
[^abc] any single character that does not belong to the set abc
转义字符(escape character)
\\ a backslash character
\t a tab character
\s a space character
\w white space (a tab or a space character)
组(group)
\(abc\) 匹配“abc”并存储
组引用
\n (n=1..9)
元字符(meta character)
^ (at the beginning only) beginning of line
. any single character
$ the end of the line
* zero or more occurrences of the precedingcharacter
+ one or more occurrences of the precedingcharacter
- 在字符集合中定义一个区间。如[A-Za-z],不在[]中使用时无需转义
\ 对下一个字符转义
[abc] any single character that belongs to the set abc
[^abc] any single character that does not belong to the set abc
转义字符(escape character)
\\ a backslash character
\t a tab character
\s a space character
\w white space (a tab or a space character)
组(group)
\(abc\) 匹配“abc”并存储
组引用
\n (n=1..9)
相关文章推荐
- DOM4J解析XML
- Linux 信号机制(三)
- Android学习笔记--自定义Adapter的使用
- 面向无连接的传输UDP协议
- 发现微信支付bug
- iOS开发学习第七课——结构体的定义、声明和应用
- poj2400--Supervisor, Supervisee(KM算法)
- oracle数据类型详解
- 考科一的旅程
- 关于linux中的动态连接
- iOS:各release版本的特性(持续更新)
- android自定义View之曲线图
- 第一次进入CSDN,或许新的生活就要开始了
- 支付宝担保交易接口
- CCAnimation::setDelayPerUnit(float v); // 设置两帧之间的时间间隔
- UITableView的tableHeaderView和viewForHeaderInSection區別
- WEBFORM--第二讲
- 支付宝担保交易接口
- ActionScript 3.0 学习(一) Array、Vector以及Object学习
- 《设计模式》第二章