3 回答

TA貢獻(xiàn)1848條經(jīng)驗(yàn) 獲得超6個(gè)贊
^Red October$
^
$

TA貢獻(xiàn)1817條經(jīng)驗(yàn) 獲得超6個(gè)贊
^
$
^
$
:
^foo|bar$
^(?:foo|bar)$
^
$
\A
\Z
\z

TA貢獻(xiàn)1853條經(jīng)驗(yàn) 獲得超6個(gè)贊
^
$
Regex.Match("Red October", "^Red October$"); // passRegex.Match("The Hunt for Red October", "^Red October$"); // fail
- 3 回答
- 0 關(guān)注
- 1072 瀏覽
添加回答
舉報(bào)