RegExp的属性简介
length:
name:
prototype:
input:
$_:
lastMatch:
$&:
lastParen:
$+:
leftContext:
$`:
rightContext:
$’:
$1:
$2:
$3:
$4:
$5:
$6:
$7:
$8:
$9:
.
.
RegExp prototype的属性
constructor:
exec:
flags:
global:是否表示全局匹配,为boolean值
ignoreCase:对象的属性表示是否为忽略大小写。boolean值
multiLine:多行-不知道干嘛的 。
source:返回需要匹配的源字符串
sticky:
unicode:
compile:
toString:
test:
dotAll: